Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 119.7 kB / 18.5 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 213.6 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.2 MB / 254.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2704/0.2704, allocations: 46.91 MB / 357.4 MB, free: 10.44 MB / 286.1 MB " [Timeout remaining time 180] 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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 83.81 kB / 0.4913 GB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1344, allocations: 65.99 MB / 0.5558 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003481/0.1378, allocations: 1.83 MB / 0.5575 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1408, allocations: 1.715 MB / 0.5592 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.1409, allocations: 8 kB / 0.5592 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.1412, allocations: 47.69 kB / 0.5593 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.1417, allocations: 147.3 kB / 0.5594 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1419, allocations: 103.6 kB / 0.5595 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.1422, allocations: 207.4 kB / 0.5597 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.1423, allocations: 9.672 kB / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1425, allocations: 83.58 kB / 0.5598 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.1427, allocations: 79.66 kB / 0.5599 GB, free: 1.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.1427, allocations: 12 kB / 0.5599 GB, free: 1.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1429, allocations: 119.9 kB / 0.56 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.752e-05/0.143, allocations: 35.84 kB / 0.56 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.092e-05/0.1431, allocations: 59.59 kB / 0.5601 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003957/0.1435, allocations: 231.1 kB / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1435, allocations: 0 / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1435, allocations: 0 / 0.5603 GB, free: 1.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1435, allocations: 0 / 0.5603 GB, free: 1.367 MB / 414.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.0008393/0.1443, allocations: 0.498 MB / 0.5608 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1444, allocations: 12.03 kB / 0.5608 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.054e-05/0.1444, allocations: 34.75 kB / 0.5608 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.769e-05/0.1445, allocations: 16.84 kB / 0.5609 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.145, allocations: 268.9 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.145, allocations: 384 / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.145, allocations: 4.375 kB / 0.5611 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.1452, allocations: 101.2 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1453, allocations: 11.94 kB / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1453, allocations: 0 / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1453, allocations: 0 / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1454, allocations: 35.95 kB / 0.5613 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.1457, allocations: 214.5 kB / 0.5615 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.146, allocations: 101.2 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.1461, allocations: 37.7 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.1461, allocations: 0 / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.1464, allocations: 124.9 kB / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1464, allocations: 0 / 0.5617 GB, free: 15.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005088/0.1469, allocations: 173.4 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.147, allocations: 128.5 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.1473, allocations: 244.9 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.1474, allocations: 25.7 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.1475, allocations: 116.1 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.1475, allocations: 39.78 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.1476, allocations: 29.72 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1478, allocations: 330.8 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/0.1479, allocations: 27.98 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.148, allocations: 65.14 kB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1482, allocations: 91.38 kB / 0.5629 GB, free: 14.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1482, allocations: 0 / 0.5629 GB, free: 14.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002871/0.1485, allocations: 141.4 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1485, allocations: 4 kB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1485, allocations: 0 / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1485, allocations: 8.062 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.1486, allocations: 19.98 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.714e-05/0.1487, allocations: 4 kB / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.1488, allocations: 16.5 kB / 0.5631 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1488, allocations: 8 kB / 0.5631 GB, free: 14.17 MB / 430.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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.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.0001439/0.1489, allocations: 129.8 kB / 0.5632 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.149, allocations: 23.83 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.149, allocations: 20.94 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.149, allocations: 4 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.1491, allocations: 4 kB / 0.5633 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1491, allocations: 3.984 kB / 0.5633 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.1494, allocations: 225.5 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1494, allocations: 3.938 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.1494, allocations: 8 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1494, allocations: 0 / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1494, allocations: 7.984 kB / 0.5635 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1494, allocations: 0 / 0.5635 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1494, allocations: 0 / 0.5635 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1498, allocations: 173.7 kB / 0.5637 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.1499, allocations: 100.9 kB / 0.5638 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.1499, allocations: 3.984 kB / 0.5638 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.15, allocations: 8 kB / 0.5638 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.15, allocations: 7.984 kB / 0.5638 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.15, allocations: 4 kB / 0.5638 GB, free: 13.35 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003323/0.1504, allocations: 185.6 kB / 0.564 GB, free: 13.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1504, allocations: 0 / 0.564 GB, free: 13.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.1507, allocations: 51.92 kB / 0.564 GB, free: 13.12 MB / 430.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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002428/0.1531, allocations: 1.118 MB / 0.5651 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.1534, allocations: 79.89 kB / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1534, allocations: 0 / 0.5652 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1535, allocations: 36.17 kB / 0.5652 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.1539, allocations: 55.53 kB / 0.5653 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.1566, allocations: 1.886 MB / 0.5671 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.157, allocations: 0.7203 MB / 0.5678 GB, free: 9.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.1571, allocations: 33.45 kB / 0.5679 GB, free: 9.219 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1572, allocations: 55.41 kB / 0.5679 GB, free: 9.164 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1572, allocations: 0 / 0.5679 GB, free: 9.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.1889, allocations: 5.327 MB / 0.5731 GB, free: 3.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.446, allocations: 2.531 kB / 0.5731 GB, free: 3.863 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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: 11.586242877878249]