Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00153/0.00153, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001898/0.001898, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2018/0.2018, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 75.41 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003686/0.1188, allocations: 2.333 MB / 481.9 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002117/0.121, allocations: 1.302 MB / 483.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1211, allocations: 7.938 kB / 483.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.1215, allocations: 123.6 kB / 483.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004708/0.122, allocations: 227.2 kB / 483.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.1223, allocations: 167.7 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.1228, allocations: 466.6 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.123, allocations: 53.36 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.1233, allocations: 299 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1235, allocations: 171 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.1236, allocations: 20 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1237, allocations: 71.97 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1238, allocations: 147.5 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.124, allocations: 218.3 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.1245, allocations: 474 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1245, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1245, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1246, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.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.001212/0.1258, allocations: 0.8864 MB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1258, allocations: 12.03 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.1259, allocations: 46.73 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.808e-05/0.126, allocations: 76 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.1265, allocations: 440.1 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.1265, allocations: 12.36 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.1265, allocations: 19.94 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.1269, allocations: 197.4 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1269, allocations: 3.906 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.127, allocations: 12 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.127, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.1272, allocations: 95.86 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.128, allocations: 0.8249 MB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.1287, allocations: 250.5 kB / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.1289, allocations: 95.45 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.1289, allocations: 4 kB / 488.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.1293, allocations: 202.2 kB / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.1293, allocations: 0 / 488.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002453/0.1318, allocations: 1.175 MB / 489.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.1319, allocations: 140.4 kB / 490.1 MB, free: 10.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009509/0.1328, allocations: 0.9613 MB / 491 MB, free: 9.742 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1329, allocations: 37.7 kB / 491.1 MB, free: 9.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.1331, allocations: 261.1 kB / 491.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.1332, allocations: 142.1 kB / 491.5 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.1333, allocations: 86.03 kB / 491.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1334, allocations: 322 kB / 491.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.1337, allocations: 112.8 kB / 492 MB, free: 8.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.1339, allocations: 187.2 kB / 492.2 MB, free: 8.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.1345, allocations: 314.7 kB / 492.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1345, allocations: 0 / 492.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007187/0.1352, allocations: 448.3 kB / 492.9 MB, free: 7.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1352, allocations: 8 kB / 492.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1352, allocations: 0 / 492.9 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1353, allocations: 4 kB / 492.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.1355, allocations: 91.83 kB / 493 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1355, allocations: 7.938 kB / 493 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.1357, allocations: 28.03 kB / 493.1 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.1358, allocations: 24 kB / 493.1 MB, free: 7.629 MB / 366.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.000244/0.136, allocations: 248 kB / 493.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.1361, allocations: 75.06 kB / 493.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.1362, allocations: 90.67 kB / 493.5 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1363, allocations: 4 kB / 493.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1363, allocations: 7.938 kB / 493.5 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.1363, allocations: 3.984 kB / 493.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.1378, allocations: 1.338 MB / 494.8 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1379, allocations: 4 kB / 494.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.138, allocations: 63.91 kB / 494.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.138, allocations: 4 kB / 494.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.1381, allocations: 12 kB / 494.9 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1381, allocations: 4 kB / 494.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.1381, allocations: 15.86 kB / 494.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.139, allocations: 0.7864 MB / 495.7 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.1391, allocations: 176.2 kB / 495.9 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.496e-05/0.1392, allocations: 19.98 kB / 495.9 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1395, allocations: 12 kB / 495.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/0.1396, allocations: 51.83 kB / 496 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.1396, allocations: 23.92 kB / 496 MB, free: 4.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006972/0.1404, allocations: 0.7021 MB / 496.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1404, allocations: 0 / 496.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.1409, allocations: 91.89 kB / 496.8 MB, free: 3.758 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.002195/0.1431, allocations: 1.755 MB / 498.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006286/0.1437, allocations: 343.5 kB / 498.9 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1438, allocations: 0 / 498.9 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.144, allocations: 159.7 kB / 499 MB, free: 1.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/0.145, allocations: 132.1 kB / 499.2 MB, free: 1.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/0.1512, allocations: 5.441 MB / 0.4928 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.1517, allocations: 0.9319 MB / 0.4937 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000222/0.152, allocations: 79.3 kB / 0.4938 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.1522, allocations: 219.3 kB / 0.494 GB, free: 10.64 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1522, allocations: 0 / 0.494 GB, free: 10.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1983/0.3505, allocations: 11.16 MB / 0.5049 GB, free: 40.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.3507, allocations: 241.2 kB / 0.5051 GB, free: 40.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.326, allocations: 3.125 kB / 0.5051 GB, free: 40.5 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches