Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001324/0.001324, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001351/0.001351, allocations: 212.2 kB / 20.75 MB, free: 2.332 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.541/1.541, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.229/0.229, allocations: 44.9 MB / 355.1 MB, free: 12.41 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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",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.002163/0.002163, allocations: 75.88 kB / 499.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1276, allocations: 65.41 MB / 0.5518 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.00349/0.1311, allocations: 1.697 MB / 0.5535 GB, free: 8.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.1329, allocations: 1.011 MB / 0.5545 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.566e-05/0.133, allocations: 3.938 kB / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1333, allocations: 67.77 kB / 0.5545 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.1337, allocations: 107.5 kB / 0.5546 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1339, allocations: 67.73 kB / 0.5547 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1342, allocations: 115.6 kB / 0.5548 GB, free: 6.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.844e-05/0.1342, allocations: 8.219 kB / 0.5548 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1343, allocations: 47.78 kB / 0.5549 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1345, allocations: 47.77 kB / 0.5549 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1345, allocations: 4 kB / 0.5549 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1346, allocations: 39.92 kB / 0.555 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.1346, allocations: 19.92 kB / 0.555 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.1347, allocations: 31.8 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.1349, allocations: 103.8 kB / 0.5551 GB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1349, allocations: 0 / 0.5551 GB, free: 6.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1349, allocations: 3.938 kB / 0.5551 GB, free: 6.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1349, allocations: 8 kB / 0.5551 GB, free: 6.672 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006108/0.1356, allocations: 406.8 kB / 0.5555 GB, free: 6.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.1356, allocations: 8.031 kB / 0.5555 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.1357, allocations: 34.69 kB / 0.5555 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.1357, allocations: 12.84 kB / 0.5556 GB, free: 6.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.136, allocations: 219.2 kB / 0.5558 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.136, allocations: 4.375 kB / 0.5558 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1361, allocations: 7.922 kB / 0.5558 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1362, allocations: 49.67 kB / 0.5558 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1362, allocations: 4 kB / 0.5558 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1362, allocations: 4 kB / 0.5558 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1362, allocations: 0 / 0.5558 GB, free: 5.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.544e-05/0.1363, allocations: 11.98 kB / 0.5558 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.1365, allocations: 185.6 kB / 0.556 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1367, allocations: 58.56 kB / 0.5561 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.1368, allocations: 20.84 kB / 0.5561 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1368, allocations: 0 / 0.5561 GB, free: 5.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.137, allocations: 59.39 kB / 0.5561 GB, free: 5.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.137, allocations: 0 / 0.5561 GB, free: 5.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003156/0.1373, allocations: 97.56 kB / 0.5562 GB, free: 5.336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1373, allocations: 55.41 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.1376, allocations: 210.2 kB / 0.5565 GB, free: 5.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1376, allocations: 25.7 kB / 0.5565 GB, free: 5.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.1376, allocations: 100.1 kB / 0.5566 GB, free: 4.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.1377, allocations: 15.91 kB / 0.5566 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1377, allocations: 21.7 kB / 0.5567 GB, free: 4.879 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1379, allocations: 322.8 kB / 0.557 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.1379, allocations: 12 kB / 0.557 GB, free: 4.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.138, allocations: 37.69 kB / 0.557 GB, free: 4.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.1381, allocations: 49.89 kB / 0.5571 GB, free: 4.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1381, allocations: 3.938 kB / 0.5571 GB, free: 4.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001719/0.1383, allocations: 81.59 kB / 0.5571 GB, free: 4.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1383, allocations: 7.938 kB / 0.5571 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1383, allocations: 4 kB / 0.5571 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1383, allocations: 0 / 0.5571 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.447e-05/0.1384, allocations: 16.02 kB / 0.5572 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1384, allocations: 0 / 0.5572 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1384, allocations: 4 kB / 0.5572 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.1385, allocations: 0 / 0.5572 GB, free: 4.324 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001074/0.1386, allocations: 132 kB / 0.5573 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1386, allocations: 7.953 kB / 0.5573 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.1386, allocations: 13 kB / 0.5573 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1386, allocations: 0 / 0.5573 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1386, allocations: 0 / 0.5573 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1386, allocations: 4 kB / 0.5573 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1388, allocations: 193.5 kB / 0.5575 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1388, allocations: 4 kB / 0.5575 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.1388, allocations: 3.938 kB / 0.5575 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1388, allocations: 0 / 0.5575 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1388, allocations: 8 kB / 0.5575 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1388, allocations: 3.938 kB / 0.5575 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1388, allocations: 0 / 0.5575 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.139, allocations: 109 kB / 0.5576 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.985e-05/0.1391, allocations: 89 kB / 0.5577 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1391, allocations: 3.984 kB / 0.5577 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.941e-05/0.1392, allocations: 8.125 kB / 0.5577 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.1392, allocations: 7.984 kB / 0.5577 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.1392, allocations: 7.938 kB / 0.5577 GB, free: 3.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1393, allocations: 148.2 kB / 0.5579 GB, free: 3.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1393, allocations: 0 / 0.5579 GB, free: 3.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1395, allocations: 15.98 kB / 0.5579 GB, free: 3.484 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001834/0.1414, allocations: 0.9534 MB / 0.5588 GB, free: 2.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.1415, allocations: 35.98 kB / 0.5589 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1415, allocations: 0 / 0.5589 GB, free: 2.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.1416, allocations: 23.92 kB / 0.5589 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.1419, allocations: 34.66 kB / 0.5589 GB, free: 2.574 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1437, allocations: 1.509 MB / 0.5604 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1441, allocations: 0.6963 MB / 0.5611 GB, free: 260 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.1441, allocations: 20.53 kB / 0.5611 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.11e-05/0.1442, allocations: 35.42 kB / 0.5611 GB, free: 204 kB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1442, allocations: 0 / 0.5611 GB, free: 204 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.1693, allocations: 3.178 MB / 0.5642 GB, free: 13.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.045, allocations: 11.05 kB / 0.5642 GB, free: 13.07 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.2753611872904]