Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 105.1 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 193.3 kB / 18.25 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.9 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1967/0.1967, allocations: 44.17 MB / 336.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.92 kB / 408 MB, free: 27.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003521/0.1051, allocations: 2.282 MB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.107, allocations: 1.177 MB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1072, allocations: 3.938 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004044/0.1076, allocations: 123.6 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.108, allocations: 171.4 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.1086, allocations: 288.7 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004422/0.1091, allocations: 434.8 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.1093, allocations: 53.02 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.1096, allocations: 291 kB / 473.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1098, allocations: 159.2 kB / 473.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.1098, allocations: 16 kB / 473.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.11, allocations: 71.91 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1101, allocations: 147.4 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.1103, allocations: 206.3 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004844/0.1108, allocations: 462.1 kB / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1108, allocations: 0 / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1108, allocations: 0 / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1108, allocations: 0 / 474.7 MB, free: 8.742 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001069/0.1119, allocations: 0.8631 MB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.112, allocations: 8.031 kB / 475.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.863e-05/0.112, allocations: 50.73 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.1121, allocations: 64.09 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.1126, allocations: 432.2 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1126, allocations: 12.38 kB / 476.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1126, allocations: 23.92 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.113, allocations: 189.5 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1131, allocations: 0 / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.1131, allocations: 11.98 kB / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1131, allocations: 8 kB / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1133, allocations: 91.86 kB / 476.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008849/0.1142, allocations: 0.8171 MB / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.1149, allocations: 246.5 kB / 477.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.1151, allocations: 91.45 kB / 477.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1151, allocations: 4 kB / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.1155, allocations: 220.3 kB / 477.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.1155, allocations: 0 / 477.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002439/0.118, allocations: 1.144 MB / 478.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/0.1181, allocations: 140.4 kB / 479 MB, free: 4.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009096/0.119, allocations: 0.9261 MB / 480 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.119, allocations: 33.7 kB / 480 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1192, allocations: 260.9 kB / 480.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1193, allocations: 138.1 kB / 480.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1195, allocations: 82.03 kB / 480.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1196, allocations: 382.8 kB / 480.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.1199, allocations: 116.8 kB / 481 MB, free: 2.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.1202, allocations: 179.2 kB / 481.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.1207, allocations: 323 kB / 481.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1207, allocations: 4 kB / 481.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007552/0.1214, allocations: 440.7 kB / 481.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1215, allocations: 8 kB / 481.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1215, allocations: 0 / 481.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1215, allocations: 4 kB / 481.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.1218, allocations: 83.89 kB / 482 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.1218, allocations: 11.88 kB / 482 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1219, allocations: 23.89 kB / 482 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.122, allocations: 24.11 kB / 482 MB, free: 0.9805 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002646/0.1223, allocations: 252 kB / 482.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.1223, allocations: 67.16 kB / 482.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1225, allocations: 86.3 kB / 482.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1225, allocations: 8 kB / 482.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.1225, allocations: 3.938 kB / 482.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1225, allocations: 3.984 kB / 482.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.1242, allocations: 1.33 MB / 483.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1242, allocations: 4 kB / 483.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1244, allocations: 59.92 kB / 483.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1244, allocations: 4 kB / 483.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.1244, allocations: 15.98 kB / 483.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1244, allocations: 4 kB / 483.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.1244, allocations: 7.938 kB / 483.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.1254, allocations: 0.7929 MB / 484.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.1256, allocations: 180.2 kB / 484.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.035e-05/0.1257, allocations: 16 kB / 484.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.1259, allocations: 15.98 kB / 484.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.126, allocations: 39.89 kB / 484.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.1261, allocations: 27.98 kB / 484.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006788/0.1268, allocations: 0.6709 MB / 485.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.794e-06/0.1268, allocations: 0 / 485.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005108/0.1273, allocations: 91.92 kB / 485.7 MB, free: 13.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002214/0.1295, allocations: 1.761 MB / 487.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006506/0.1302, allocations: 335.6 kB / 487.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1302, allocations: 4.062 kB / 487.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.1306, allocations: 171.6 kB / 488 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009368/0.1315, allocations: 129.9 kB / 488.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.1376, allocations: 5.321 MB / 493.4 MB, free: 5.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.1381, allocations: 0.9102 MB / 494.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002089/0.1383, allocations: 83.23 kB / 494.4 MB, free: 4.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.1385, allocations: 199.4 kB / 494.6 MB, free: 4.219 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1385, allocations: 0 / 494.6 MB, free: 4.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.1607, allocations: 10.9 MB / 0.4936 GB, free: 9.48 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.1609, allocations: 234.6 kB / 0.4939 GB, free: 9.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.199, allocations: 0 / 0.4939 GB, free: 9.23 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches