Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.001314/0.001314, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001447/0.001447, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2266/0.2266, allocations: 44.94 MB / 358.9 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 180] 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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.002917/0.002917, allocations: 67.89 kB / 0.4931 GB, free: 10.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3414, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003636/0.345, allocations: 1.876 MB / 0.5589 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.3471, allocations: 1.076 MB / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.3472, allocations: 3.938 kB / 0.5599 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.3477, allocations: 259.3 kB / 0.5602 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.3482, allocations: 227.2 kB / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.3485, allocations: 123.6 kB / 0.5605 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.3489, allocations: 275.2 kB / 0.5608 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.349, allocations: 15.8 kB / 0.5608 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.3491, allocations: 139.5 kB / 0.5609 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002905/0.3494, allocations: 207.4 kB / 0.5611 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.3495, allocations: 12 kB / 0.5611 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.3496, allocations: 63.97 kB / 0.5612 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3497, allocations: 67.7 kB / 0.5612 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/0.3498, allocations: 75.41 kB / 0.5613 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.3502, allocations: 262.7 kB / 0.5616 GB, free: 2.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3502, allocations: 0 / 0.5616 GB, free: 2.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3502, allocations: 4 kB / 0.5616 GB, free: 2.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3502, allocations: 0 / 0.5616 GB, free: 2.836 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007825/0.351, allocations: 0.5118 MB / 0.5621 GB, free: 2.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.351, allocations: 8.031 kB / 0.5621 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.3511, allocations: 46.67 kB / 0.5621 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.3511, allocations: 32.75 kB / 0.5622 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.3515, allocations: 228.8 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3515, allocations: 12.36 kB / 0.5624 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.3516, allocations: 7.938 kB / 0.5624 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.3518, allocations: 119.3 kB / 0.5625 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.3518, allocations: 7.938 kB / 0.5625 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3519, allocations: 4 kB / 0.5625 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3519, allocations: 4 kB / 0.5625 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.352, allocations: 43.95 kB / 0.5626 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.3527, allocations: 447.8 kB / 0.563 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.3531, allocations: 125.2 kB / 0.5631 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.3532, allocations: 49.75 kB / 0.5632 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3532, allocations: 4 kB / 0.5632 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.3535, allocations: 124.8 kB / 0.5633 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.3535, allocations: 0 / 0.5633 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001506/0.355, allocations: 0.5284 MB / 0.5638 GB, free: 396 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.3551, allocations: 85.09 kB / 0.5639 GB, free: 292 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.3558, allocations: 0.4938 MB / 0.5644 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.3558, allocations: 37.7 kB / 0.5644 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.3559, allocations: 172.5 kB / 0.5646 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.356, allocations: 71.41 kB / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.3561, allocations: 49.64 kB / 0.5647 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3563, allocations: 346.8 kB / 0.565 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3565, allocations: 59.97 kB / 0.5651 GB, free: 15.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.3566, allocations: 91.34 kB / 0.5652 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.3569, allocations: 171.5 kB / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3569, allocations: 4 kB / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000446/0.3574, allocations: 245.2 kB / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3574, allocations: 4 kB / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3574, allocations: 7.938 kB / 0.5656 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3574, allocations: 0 / 0.5656 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3576, allocations: 43.98 kB / 0.5656 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3576, allocations: 3.984 kB / 0.5656 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.3577, allocations: 7.938 kB / 0.5656 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.3577, allocations: 20.06 kB / 0.5656 GB, free: 14.41 MB / 414.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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001773/0.3579, allocations: 166.3 kB / 0.5658 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.3579, allocations: 39.7 kB / 0.5658 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005797/0.3585, allocations: 285.1 kB / 0.5661 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.3585, allocations: 4 kB / 0.5661 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3585, allocations: 0 / 0.5661 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.3585, allocations: 3.984 kB / 0.5661 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.3596, allocations: 0.7185 MB / 0.5668 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3596, allocations: 0 / 0.5668 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3597, allocations: 39.92 kB / 0.5669 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.3597, allocations: 4 kB / 0.5669 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3597, allocations: 4 kB / 0.5669 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3597, allocations: 3.984 kB / 0.5669 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.3597, allocations: 7.938 kB / 0.5669 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.3603, allocations: 447.6 kB / 0.5673 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.3603, allocations: 39.88 kB / 0.5673 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3604, allocations: 8 kB / 0.5673 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3605, allocations: 15.92 kB / 0.5674 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.3606, allocations: 19.97 kB / 0.5674 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.3606, allocations: 8 kB / 0.5674 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004181/0.3611, allocations: 379.1 kB / 0.5678 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3611, allocations: 0 / 0.5678 GB, free: 12.15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00036/0.3614, allocations: 55.92 kB / 0.5678 GB, free: 12.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002881/0.3643, allocations: 1.44 MB / 0.5692 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003727/0.3647, allocations: 155.8 kB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3647, allocations: 0 / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.3649, allocations: 75.84 kB / 0.5694 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.3654, allocations: 64.39 kB / 0.5695 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.3694, allocations: 3.026 MB / 0.5724 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3696, allocations: 178.4 kB / 0.5726 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.3697, allocations: 46.27 kB / 0.5727 GB, free: 7.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3699, allocations: 107.4 kB / 0.5728 GB, free: 7.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3699, allocations: 0 / 0.5728 GB, free: 7.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.4059, allocations: 7.495 MB / 0.5801 GB, free: 15.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 4 kB / 0.5801 GB, free: 15.67 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.83095653122291]