Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 115.3 kB / 17.12 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 207.6 MB / 230.4 MB, free: 4.043 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3272/0.3272, allocations: 44.23 MB / 326.5 MB, free: 6.863 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 71.89 kB / 462.2 MB, free: 0.875 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2628, allocations: 61 MB / 0.511 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002484/0.2653, allocations: 1.798 MB / 0.5127 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2664, allocations: 0.88 MB / 0.5136 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.2665, allocations: 0.8438 kB / 0.5136 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.2669, allocations: 315.9 kB / 0.5139 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.2672, allocations: 221.2 kB / 0.5141 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.2675, allocations: 137 kB / 0.5142 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.2677, allocations: 239.2 kB / 0.5145 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.2677, allocations: 13.92 kB / 0.5145 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2679, allocations: 133 kB / 0.5146 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.2681, allocations: 209.8 kB / 0.5148 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2681, allocations: 6.875 kB / 0.5148 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.2682, allocations: 48.84 kB / 0.5148 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2683, allocations: 138.8 kB / 0.515 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.2684, allocations: 146.3 kB / 0.5151 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.2687, allocations: 371.5 kB / 0.5155 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2687, allocations: 1.375 kB / 0.5155 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2687, allocations: 0 / 0.5155 GB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.2687, allocations: 0 / 0.5155 GB, free: 10.03 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007639/0.2694, allocations: 0.748 MB / 0.5162 GB, free: 9.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2695, allocations: 13.23 kB / 0.5162 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.2695, allocations: 40.22 kB / 0.5163 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.2696, allocations: 50.08 kB / 0.5163 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.2701, allocations: 459.3 kB / 0.5167 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2701, allocations: 1.844 kB / 0.5167 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2701, allocations: 6.75 kB / 0.5168 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.2703, allocations: 88.09 kB / 0.5168 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2703, allocations: 3.938 kB / 0.5168 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2703, allocations: 9.266 kB / 0.5168 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2703, allocations: 1.406 kB / 0.5168 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.772e-05/0.2704, allocations: 27.11 kB / 0.5169 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.2706, allocations: 379.1 kB / 0.5172 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.2709, allocations: 105.1 kB / 0.5173 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.172e-05/0.2709, allocations: 37.7 kB / 0.5174 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.2709, allocations: 0 / 0.5174 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.2711, allocations: 117 kB / 0.5175 GB, free: 8.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.2711, allocations: 3.938 kB / 0.5175 GB, free: 8.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003723/0.2715, allocations: 197.2 kB / 0.5177 GB, free: 7.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2715, allocations: 81.11 kB / 0.5178 GB, free: 7.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/0.2722, allocations: 1.038 MB / 0.5188 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2722, allocations: 25.7 kB / 0.5188 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2723, allocations: 236.1 kB / 0.519 GB, free: 6.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.2724, allocations: 23.8 kB / 0.519 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.2724, allocations: 33.7 kB / 0.5191 GB, free: 6.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.2e-05/0.2725, allocations: 370.8 kB / 0.5194 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.2725, allocations: 23.98 kB / 0.5194 GB, free: 6.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.081e-05/0.2726, allocations: 59.41 kB / 0.5195 GB, free: 5.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.2727, allocations: 91.86 kB / 0.5196 GB, free: 5.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2728, allocations: 3.938 kB / 0.5196 GB, free: 5.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002244/0.273, allocations: 173.2 kB / 0.5198 GB, free: 5.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.273, allocations: 11.94 kB / 0.5198 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.273, allocations: 0 / 0.5198 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.273, allocations: 0 / 0.5198 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.2731, allocations: 24 kB / 0.5198 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.2731, allocations: 8.047 kB / 0.5198 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.534e-05/0.2732, allocations: 4 kB / 0.5198 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.2732, allocations: 4 kB / 0.5198 GB, free: 5.633 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001344/0.2733, allocations: 233.6 kB / 0.52 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.2734, allocations: 51.67 kB / 0.5201 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.2735, allocations: 60 kB / 0.5201 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2735, allocations: 0 / 0.5201 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2735, allocations: 0 / 0.5201 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2735, allocations: 0 / 0.5201 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2737, allocations: 353.3 kB / 0.5205 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2737, allocations: 0 / 0.5205 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.2737, allocations: 8 kB / 0.5205 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2737, allocations: 0 / 0.5205 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2737, allocations: 11.98 kB / 0.5205 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2737, allocations: 0 / 0.5205 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2737, allocations: 0 / 0.5205 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.2739, allocations: 209.4 kB / 0.5207 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.2741, allocations: 136.8 kB / 0.5208 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.2741, allocations: 7.938 kB / 0.5208 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.2742, allocations: 11.98 kB / 0.5208 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.2742, allocations: 4 kB / 0.5208 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.2742, allocations: 12.09 kB / 0.5209 GB, free: 4.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005233/0.2748, allocations: 0.7682 MB / 0.5216 GB, free: 3.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2748, allocations: 0 / 0.5216 GB, free: 3.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.275, allocations: 47.92 kB / 0.5217 GB, free: 3.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001644/0.2767, allocations: 1.061 MB / 0.5227 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2769, allocations: 75.95 kB / 0.5228 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2769, allocations: 4.062 kB / 0.5228 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.277, allocations: 35.92 kB / 0.5228 GB, free: 2.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.2774, allocations: 66.77 kB / 0.5229 GB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004701/0.2821, allocations: 4.523 MB / 0.5273 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005401/0.2826, allocations: 0.8466 MB / 0.5281 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.2827, allocations: 54.94 kB / 0.5282 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.2829, allocations: 147.4 kB / 0.5283 GB, free: 12.7 MB / 398.1 MB Notification: Performance of SimCode: time 7.12e-07/0.2829, allocations: 0 / 0.5283 GB, free: 12.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.3149, allocations: 8.982 MB / 0.5371 GB, free: 3.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/9.137, allocations: 19.97 kB / 0.5371 GB, free: 3.621 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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: 12.147027843166143]