Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.632/1.632, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2394/0.2394, allocations: 44.91 MB / 358.8 MB, free: 6.273 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 63.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4095, allocations: 65.47 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003434/0.4129, allocations: 1.703 MB / 0.5587 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.4147, allocations: 1.03 MB / 0.5598 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.4148, allocations: 0 / 0.5598 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.4151, allocations: 63.72 kB / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.4155, allocations: 103.6 kB / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.4157, allocations: 79.66 kB / 0.56 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.4159, allocations: 115.6 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.4159, allocations: 4.234 kB / 0.5601 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.4161, allocations: 47.78 kB / 0.5601 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.4162, allocations: 55.75 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.4162, allocations: 4 kB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.4163, allocations: 31.98 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.4163, allocations: 19.92 kB / 0.5603 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.4164, allocations: 31.73 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.4166, allocations: 109.4 kB / 0.5604 GB, free: 4.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4166, allocations: 0 / 0.5604 GB, free: 4.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.4166, allocations: 7.938 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4166, allocations: 0 / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005457/0.4172, allocations: 333.7 kB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4172, allocations: 12.03 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.4173, allocations: 30.75 kB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.4173, allocations: 12.84 kB / 0.5608 GB, free: 3.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.4176, allocations: 155 kB / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.4176, allocations: 384 / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.4176, allocations: 7.938 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4178, allocations: 49.62 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.4178, allocations: 3.984 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.4178, allocations: 0 / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4178, allocations: 0 / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.4179, allocations: 12 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002009/0.4181, allocations: 160.7 kB / 0.5611 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.4182, allocations: 54.56 kB / 0.5612 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.619e-05/0.4183, allocations: 20.78 kB / 0.5612 GB, free: 3.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4183, allocations: 4 kB / 0.5612 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.4185, allocations: 63.39 kB / 0.5613 GB, free: 3.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4185, allocations: 3.938 kB / 0.5613 GB, free: 3.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002994/0.4188, allocations: 93.62 kB / 0.5614 GB, free: 3.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.4188, allocations: 59.34 kB / 0.5614 GB, free: 3.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.4191, allocations: 198.2 kB / 0.5616 GB, free: 2.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.4191, allocations: 25.7 kB / 0.5616 GB, free: 2.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.4191, allocations: 104.1 kB / 0.5617 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.4192, allocations: 19.83 kB / 0.5618 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.4193, allocations: 21.72 kB / 0.5618 GB, free: 2.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4194, allocations: 318.8 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.4195, allocations: 15.98 kB / 0.5621 GB, free: 2.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.4196, allocations: 33.7 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.996e-05/0.4197, allocations: 37.97 kB / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4197, allocations: 3.938 kB / 0.5622 GB, free: 2.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001887/0.4199, allocations: 93.52 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4199, allocations: 4 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4199, allocations: 0 / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4199, allocations: 8.031 kB / 0.5623 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.42, allocations: 8 kB / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.42, allocations: 0 / 0.5623 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.42, allocations: 11.98 kB / 0.5623 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.42, allocations: 3.938 kB / 0.5623 GB, free: 2.207 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.4201, allocations: 121.8 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.4202, allocations: 11.95 kB / 0.5624 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.4204, allocations: 90.75 kB / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4204, allocations: 0 / 0.5625 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4204, allocations: 4 kB / 0.5625 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.4204, allocations: 3.984 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.4205, allocations: 160.6 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4205, allocations: 0 / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.4206, allocations: 7.984 kB / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4206, allocations: 3.938 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4206, allocations: 0 / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4206, allocations: 0 / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4206, allocations: 4 kB / 0.5627 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.4208, allocations: 113 kB / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.4208, allocations: 7.953 kB / 0.5628 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.4208, allocations: 0 / 0.5628 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.4208, allocations: 4.188 kB / 0.5628 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4209, allocations: 11.98 kB / 0.5628 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.4209, allocations: 3.938 kB / 0.5628 GB, free: 1.582 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.421, allocations: 148.2 kB / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.421, allocations: 0 / 0.563 GB, free: 1.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.4212, allocations: 27.88 kB / 0.563 GB, free: 1.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/0.4231, allocations: 0.9494 MB / 0.5639 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.4233, allocations: 39.98 kB / 0.5639 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4233, allocations: 3.938 kB / 0.564 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.4234, allocations: 20.05 kB / 0.564 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.4236, allocations: 32.89 kB / 0.564 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.4254, allocations: 1.514 MB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.4258, allocations: 0.7002 MB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.271e-05/0.4258, allocations: 20.47 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.4259, allocations: 27.44 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4259, allocations: 0 / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.4583, allocations: 3.307 MB / 0.5694 GB, free: 10.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.59, allocations: 14.41 kB / 0.5695 GB, free: 10.88 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.835368162952363]