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.001298/0.001298, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 80.97 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1137, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003789/0.1176, allocations: 2.291 MB / 482.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1199, allocations: 1.314 MB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.1202, allocations: 7.938 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.1207, allocations: 135.3 kB / 483.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006975/0.1215, allocations: 262.8 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.122, allocations: 187.5 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.1225, allocations: 462.7 kB / 484.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1227, allocations: 57.34 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.1231, allocations: 299 kB / 485.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1233, allocations: 159.2 kB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/0.1234, allocations: 16 kB / 485.3 MB, free: 20 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1235, allocations: 83.89 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1237, allocations: 143.5 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.1239, allocations: 210.3 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.1244, allocations: 474 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1244, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.1244, allocations: 0 / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.1245, allocations: 3.938 kB / 486.2 MB, free: 15.12 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.001421/0.1259, allocations: 0.8786 MB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.126, allocations: 12.02 kB / 487.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.071e-05/0.126, allocations: 50.73 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.1262, allocations: 75.94 kB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.1267, allocations: 436.2 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.1268, allocations: 16.36 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.1268, allocations: 15.94 kB / 487.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.1272, allocations: 192.9 kB / 487.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.1273, allocations: 11.91 kB / 487.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1273, allocations: 4 kB / 487.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1273, allocations: 4 kB / 487.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.1276, allocations: 91.86 kB / 488 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000962/0.1285, allocations: 0.8249 MB / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.1292, allocations: 246.5 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.1294, allocations: 91.45 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.1294, allocations: 4 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003821/0.1298, allocations: 204.4 kB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.1298, allocations: 0 / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002426/0.1323, allocations: 1.176 MB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/0.1323, allocations: 136.5 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000988/0.1333, allocations: 0.9613 MB / 491.6 MB, free: 9.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.1334, allocations: 37.7 kB / 491.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.1336, allocations: 261.1 kB / 491.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.1337, allocations: 146 kB / 492 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.1338, allocations: 86.03 kB / 492.1 MB, free: 8.879 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.1339, allocations: 318 kB / 492.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.1342, allocations: 112.8 kB / 492.5 MB, free: 8.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.1344, allocations: 183.2 kB / 492.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.1349, allocations: 319 kB / 493 MB, free: 7.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1349, allocations: 4 kB / 493 MB, free: 7.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007037/0.1356, allocations: 448.7 kB / 493.5 MB, free: 7.461 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1357, allocations: 4 kB / 493.5 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1357, allocations: 4 kB / 493.5 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1357, allocations: 4 kB / 493.5 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.136, allocations: 87.89 kB / 493.5 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.136, allocations: 12 kB / 493.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.1361, allocations: 27.92 kB / 493.6 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.1362, allocations: 16 kB / 493.6 MB, free: 7.309 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.0002368/0.1364, allocations: 252 kB / 493.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.1365, allocations: 71.06 kB / 493.9 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.1366, allocations: 97.95 kB / 494 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.1367, allocations: 4 kB / 494 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1367, allocations: 7.938 kB / 494 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1367, allocations: 7.984 kB / 494 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.1382, allocations: 1.338 MB / 495.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.1382, allocations: 4 kB / 495.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.1384, allocations: 55.92 kB / 495.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1384, allocations: 4 kB / 495.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.1384, allocations: 19.98 kB / 495.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1384, allocations: 4.25 kB / 495.5 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.1384, allocations: 15.88 kB / 495.5 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.1392, allocations: 0.7822 MB / 496.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.1394, allocations: 180.2 kB / 496.4 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.1395, allocations: 16 kB / 496.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.1398, allocations: 23.92 kB / 496.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.1398, allocations: 35.89 kB / 496.5 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.1399, allocations: 27.98 kB / 496.5 MB, free: 4.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006567/0.1405, allocations: 0.702 MB / 497.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1405, allocations: 0 / 497.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.1411, allocations: 95.89 kB / 497.3 MB, free: 3.426 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.002085/0.1431, allocations: 1.761 MB / 499.1 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000586/0.1437, allocations: 339.5 kB / 499.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1438, allocations: 0 / 499.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.1441, allocations: 163.7 kB / 499.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/0.145, allocations: 130.4 kB / 499.7 MB, free: 1.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.1508, allocations: 5.296 MB / 0.4932 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.1513, allocations: 0.9199 MB / 0.4941 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.1515, allocations: 75.3 kB / 0.4941 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.1518, allocations: 215.3 kB / 0.4943 GB, free: 10.47 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1518, allocations: 0 / 0.4943 GB, free: 10.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2005/0.3522, allocations: 11.32 MB / 0.5054 GB, free: 40.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.121/7.473, allocations: 7.438 kB / 0.5054 GB, free: 40.69 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