Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.9 MB / 355.8 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 64.19 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1156, allocations: 65.43 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003605/0.1192, allocations: 1.92 MB / 0.5544 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1213, allocations: 1.139 MB / 0.5555 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1214, allocations: 7.875 kB / 0.5555 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.1219, allocations: 163.5 kB / 0.5557 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.1224, allocations: 187.3 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1227, allocations: 115.6 kB / 0.556 GB, free: 6.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000367/0.123, allocations: 243.3 kB / 0.5562 GB, free: 6.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1232, allocations: 21.84 kB / 0.5562 GB, free: 6.246 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.1234, allocations: 127.5 kB / 0.5564 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1236, allocations: 135.5 kB / 0.5565 GB, free: 5.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.1236, allocations: 8 kB / 0.5565 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1238, allocations: 67.97 kB / 0.5566 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.1239, allocations: 55.7 kB / 0.5566 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.124, allocations: 87.34 kB / 0.5567 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000375/0.1244, allocations: 219 kB / 0.5569 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1244, allocations: 7.875 kB / 0.5569 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1244, allocations: 3.938 kB / 0.5569 GB, free: 5.547 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1244, allocations: 4 kB / 0.5569 GB, free: 5.543 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009412/0.1253, allocations: 0.5485 MB / 0.5575 GB, free: 4.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.1254, allocations: 8.031 kB / 0.5575 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.447e-05/0.1254, allocations: 192 / 0.5575 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.1254, allocations: 38.75 kB / 0.5575 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.1255, allocations: 28.75 kB / 0.5575 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.126, allocations: 279.7 kB / 0.5578 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.126, allocations: 16.12 kB / 0.5578 GB, free: 4.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.1261, allocations: 4 kB / 0.5578 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.1264, allocations: 109 kB / 0.5579 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1264, allocations: 0 / 0.5579 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.1264, allocations: 11.92 kB / 0.5579 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1264, allocations: 0 / 0.5579 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.1266, allocations: 51.91 kB / 0.558 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007064/0.1273, allocations: 468.8 kB / 0.5584 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.1277, allocations: 117.2 kB / 0.5585 GB, free: 3.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.1278, allocations: 41.83 kB / 0.5586 GB, free: 3.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.1278, allocations: 4 kB / 0.5586 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.1281, allocations: 125 kB / 0.5587 GB, free: 3.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.903e-06/0.1281, allocations: 0 / 0.5587 GB, free: 3.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001411/0.1295, allocations: 497.8 kB / 0.5592 GB, free: 3.023 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.1296, allocations: 85.05 kB / 0.5593 GB, free: 2.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.13, allocations: 371.3 kB / 0.5596 GB, free: 2.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.13, allocations: 29.7 kB / 0.5596 GB, free: 2.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.1301, allocations: 144.5 kB / 0.5598 GB, free: 2.367 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.1302, allocations: 75.38 kB / 0.5598 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.399e-05/0.1303, allocations: 45.7 kB / 0.5599 GB, free: 2.242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1304, allocations: 346.8 kB / 0.5602 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1306, allocations: 55.97 kB / 0.5603 GB, free: 1.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1307, allocations: 93.53 kB / 0.5604 GB, free: 1.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.131, allocations: 167.5 kB / 0.5605 GB, free: 1.562 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.131, allocations: 0 / 0.5605 GB, free: 1.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004305/0.1314, allocations: 229.3 kB / 0.5607 GB, free: 1.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1315, allocations: 4 kB / 0.5607 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1315, allocations: 4 kB / 0.5607 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1315, allocations: 0 / 0.5607 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1316, allocations: 47.91 kB / 0.5608 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1317, allocations: 4.062 kB / 0.5608 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.321e-05/0.1317, allocations: 12.06 kB / 0.5608 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.1318, allocations: 8 kB / 0.5608 GB, free: 1.254 MB / 414.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001669/0.1319, allocations: 165.6 kB / 0.561 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.132, allocations: 35.75 kB / 0.561 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.757e-05/0.1321, allocations: 37.83 kB / 0.561 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1321, allocations: 11.92 kB / 0.5611 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1321, allocations: 0 / 0.5611 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1321, allocations: 0 / 0.5611 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.1331, allocations: 0.7311 MB / 0.5618 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1331, allocations: 0 / 0.5618 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.1331, allocations: 27.98 kB / 0.5618 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1331, allocations: 4 kB / 0.5618 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1332, allocations: 8 kB / 0.5618 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1332, allocations: 4.062 kB / 0.5618 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1332, allocations: 11.94 kB / 0.5618 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.1337, allocations: 415.3 kB / 0.5622 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.1338, allocations: 100.9 kB / 0.5623 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.1338, allocations: 8 kB / 0.5623 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.134, allocations: 11.98 kB / 0.5623 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.134, allocations: 19.86 kB / 0.5624 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.134, allocations: 19.98 kB / 0.5624 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002874/0.1343, allocations: 273.9 kB / 0.5626 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1343, allocations: 0 / 0.5626 GB, free: 15.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.1347, allocations: 47.94 kB / 0.5627 GB, free: 15.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002737/0.1374, allocations: 1.367 MB / 0.564 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.1378, allocations: 151.7 kB / 0.5642 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1378, allocations: 3.938 kB / 0.5642 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.138, allocations: 71.91 kB / 0.5642 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.1386, allocations: 68.02 kB / 0.5643 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003609/0.1422, allocations: 2.717 MB / 0.567 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.1426, allocations: 0.7597 MB / 0.5677 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.1427, allocations: 45.91 kB / 0.5677 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.1429, allocations: 91.41 kB / 0.5678 GB, free: 9.973 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1429, allocations: 0 / 0.5678 GB, free: 9.973 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.1683, allocations: 6.17 MB / 0.5738 GB, free: 3.879 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.826/8.994, allocations: 8.062 kB / 0.5739 GB, free: 3.871 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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: 12.29290190298343]