Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.00147/0.00147, 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.001564/0.001564, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.448/1.448, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2431/0.2431, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1254, allocations: 66 MB / 0.5555 GB, free: 5.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003128/0.1286, allocations: 1.729 MB / 0.5571 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.1303, allocations: 1.034 MB / 0.5582 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.1304, allocations: 0 / 0.5582 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.1307, allocations: 83.69 kB / 0.5582 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.131, allocations: 123.5 kB / 0.5584 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.1312, allocations: 71.73 kB / 0.5584 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.1314, allocations: 119.6 kB / 0.5585 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.1315, allocations: 11.98 kB / 0.5585 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1316, allocations: 59.77 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1317, allocations: 55.81 kB / 0.5587 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1317, allocations: 7.938 kB / 0.5587 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1318, allocations: 47.97 kB / 0.5587 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.1319, allocations: 27.8 kB / 0.5587 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.132, allocations: 39.75 kB / 0.5588 GB, free: 2.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1322, allocations: 127.4 kB / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1322, allocations: 0 / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1322, allocations: 0 / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.1322, allocations: 0 / 0.5589 GB, free: 2.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006555/0.1328, allocations: 434.5 kB / 0.5593 GB, free: 1.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1329, allocations: 8.031 kB / 0.5593 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.235e-05/0.1329, allocations: 38.75 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.133, allocations: 12.84 kB / 0.5594 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1333, allocations: 216.1 kB / 0.5596 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1333, allocations: 8.375 kB / 0.5596 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1333, allocations: 7.922 kB / 0.5596 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1335, allocations: 53.67 kB / 0.5596 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1335, allocations: 0 / 0.5596 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1335, allocations: 4 kB / 0.5596 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1335, allocations: 0 / 0.5596 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.897e-05/0.1336, allocations: 23.86 kB / 0.5597 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.1341, allocations: 296.8 kB / 0.56 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.1343, allocations: 54.69 kB / 0.56 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.017e-05/0.1343, allocations: 20.84 kB / 0.56 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.1343, allocations: 0 / 0.56 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1345, allocations: 71.33 kB / 0.5601 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1345, allocations: 0 / 0.5601 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000574/0.1351, allocations: 185.3 kB / 0.5603 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.1351, allocations: 51.41 kB / 0.5603 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.1354, allocations: 231.3 kB / 0.5605 GB, free: 344 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.1354, allocations: 25.7 kB / 0.5606 GB, free: 312 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.1355, allocations: 108.1 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.1355, allocations: 23.8 kB / 0.5607 GB, free: 176 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.1356, allocations: 29.7 kB / 0.5607 GB, free: 140 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1357, allocations: 322.8 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-05/0.1358, allocations: 23.98 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.608e-05/0.1359, allocations: 29.72 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.136, allocations: 66.02 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.136, allocations: 0 / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001898/0.1362, allocations: 109.8 kB / 0.5612 GB, free: 15.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1362, allocations: 11.94 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1362, allocations: 7.938 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1362, allocations: 0 / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.792e-05/0.1363, allocations: 12 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1363, allocations: 4 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.158e-05/0.1364, allocations: 11.92 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.1364, allocations: 4 kB / 0.5613 GB, free: 15.52 MB / 430.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.0001069/0.1365, allocations: 128.1 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1365, allocations: 15.89 kB / 0.5614 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.1365, allocations: 21.41 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1366, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1366, allocations: 0 / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1366, allocations: 3.938 kB / 0.5615 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.1372, allocations: 399.3 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1372, allocations: 0 / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.1372, allocations: 19.91 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1373, allocations: 3.938 kB / 0.5619 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1373, allocations: 3.984 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1373, allocations: 4 kB / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1373, allocations: 0 / 0.5619 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.1375, allocations: 200.3 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.614e-05/0.1376, allocations: 85.06 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1376, allocations: 7.938 kB / 0.5621 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1377, allocations: 8 kB / 0.5622 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.1377, allocations: 7.984 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.1377, allocations: 0 / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1379, allocations: 173.1 kB / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1379, allocations: 0 / 0.5623 GB, free: 14.35 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1381, allocations: 27.94 kB / 0.5624 GB, free: 14.32 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: 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.00214/0.1403, allocations: 1.1 MB / 0.5634 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1405, allocations: 63.89 kB / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1405, allocations: 0 / 0.5635 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.1405, allocations: 28.08 kB / 0.5635 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.141, allocations: 35.88 kB / 0.5635 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.143, allocations: 1.715 MB / 0.5652 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1433, allocations: 0.708 MB / 0.5659 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.725e-05/0.1434, allocations: 16.88 kB / 0.5659 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.1434, allocations: 39.42 kB / 0.566 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1434, allocations: 0 / 0.566 GB, free: 10.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.1673, allocations: 3.584 MB / 0.5695 GB, free: 7.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.058, allocations: 12.33 kB / 0.5695 GB, free: 7.129 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_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_1_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.136924695994821]