Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51",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.001106/0.001106, allocations: 107.2 kB / 15.99 MB, free: 6.352 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.001104/0.001104, allocations: 198.9 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3924/0.3924, allocations: 43.49 MB / 313.6 MB, free: 8.234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 67.91 kB / 382.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1352, allocations: 57.78 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003927/0.1392, allocations: 1.764 MB / 441.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1407, allocations: 0.7885 MB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.1409, allocations: 3.938 kB / 442.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1412, allocations: 39.89 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1416, allocations: 51.83 kB / 442.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.1419, allocations: 79.78 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1421, allocations: 103.7 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1422, allocations: 16.2 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1424, allocations: 39.8 kB / 443 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.1425, allocations: 27.86 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1425, allocations: 7.984 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1426, allocations: 43.98 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.539e-05/0.1427, allocations: 27.84 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.1428, allocations: 39.69 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.143, allocations: 119.9 kB / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.143, allocations: 0 / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1431, allocations: 0 / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1431, allocations: 0 / 443.2 MB, free: 11.23 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000645/0.1437, allocations: 426.8 kB / 443.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.1438, allocations: 15.89 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.1438, allocations: 38.73 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.1439, allocations: 8.844 kB / 443.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1442, allocations: 215.9 kB / 443.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1442, allocations: 12.36 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1443, allocations: 7.875 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1445, allocations: 53.67 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1445, allocations: 4 kB / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1445, allocations: 0 / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1445, allocations: 0 / 444 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.1446, allocations: 23.98 kB / 444 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.1451, allocations: 284.9 kB / 444.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.1453, allocations: 62.61 kB / 444.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.1453, allocations: 16.86 kB / 444.4 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1454, allocations: 4 kB / 444.4 MB, free: 9.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1456, allocations: 63.39 kB / 444.5 MB, free: 9.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1456, allocations: 4 kB / 444.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005799/0.1462, allocations: 181.1 kB / 444.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.1462, allocations: 51.41 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.1465, allocations: 222.6 kB / 444.9 MB, free: 9.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1465, allocations: 29.7 kB / 444.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.1466, allocations: 108.1 kB / 445 MB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.1466, allocations: 27.64 kB / 445.1 MB, free: 9.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.1467, allocations: 25.72 kB / 445.1 MB, free: 9.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1468, allocations: 326.8 kB / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.745e-05/0.1469, allocations: 23.86 kB / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.1469, allocations: 37.7 kB / 445.5 MB, free: 8.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1471, allocations: 58.03 kB / 445.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1471, allocations: 0 / 445.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002106/0.1473, allocations: 113.4 kB / 445.6 MB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1473, allocations: 4 kB / 445.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1473, allocations: 4 kB / 445.6 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1473, allocations: 4 kB / 445.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.1474, allocations: 19.98 kB / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1475, allocations: 0 / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.1475, allocations: 7.938 kB / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.1475, allocations: 160 / 445.7 MB, free: 8.547 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001131/0.1476, allocations: 133.8 kB / 445.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1477, allocations: 19.92 kB / 445.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.1477, allocations: 17.39 kB / 445.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1477, allocations: 7.984 kB / 445.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1478, allocations: 0 / 445.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1478, allocations: 3.938 kB / 445.9 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.1482, allocations: 391.2 kB / 446.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1482, allocations: 0 / 446.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.1482, allocations: 8.031 kB / 446.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1483, allocations: 11.94 kB / 446.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1483, allocations: 3.984 kB / 446.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1483, allocations: 0 / 446.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1483, allocations: 0 / 446.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.1485, allocations: 208.2 kB / 446.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.1486, allocations: 84.92 kB / 446.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1486, allocations: 15.94 kB / 446.6 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.1487, allocations: 3.984 kB / 446.6 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1487, allocations: 4 kB / 446.6 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1487, allocations: 4 kB / 446.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1489, allocations: 176.3 kB / 446.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1489, allocations: 0 / 446.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1491, allocations: 20 kB / 446.8 MB, free: 7.352 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001456/0.1506, allocations: 1.114 MB / 447.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.1508, allocations: 63.91 kB / 447.9 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1508, allocations: 0 / 447.9 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.1509, allocations: 27.98 kB / 448 MB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1513, allocations: 40.09 kB / 448 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.153, allocations: 1.727 MB / 449.7 MB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.1533, allocations: 0.7196 MB / 450.5 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.1534, allocations: 12.88 kB / 450.5 MB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.1535, allocations: 35.42 kB / 450.5 MB, free: 3.512 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1535, allocations: 0 / 450.5 MB, free: 3.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.1685, allocations: 3.358 MB / 453.9 MB, free: 136 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2542/0.4228, allocations: 242.7 kB / 454.1 MB, free: 51.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.265, allocations: 0 / 454.1 MB, free: 51.28 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches