Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001698/0.001698, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002063/0.002063, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.58/1.58, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2518/0.2518, allocations: 46.91 MB / 357.1 MB, free: 10.34 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.91 kB / 0.491 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1286, allocations: 65.99 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003199/0.1318, allocations: 1.836 MB / 0.5572 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1337, allocations: 1.111 MB / 0.5583 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.781e-05/0.1338, allocations: 7.938 kB / 0.5583 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.1344, allocations: 303.3 kB / 0.5586 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.1349, allocations: 259.2 kB / 0.5589 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1351, allocations: 107.7 kB / 0.559 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.1354, allocations: 259.2 kB / 0.5592 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.1355, allocations: 17.67 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.1357, allocations: 135.5 kB / 0.5594 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.1359, allocations: 227.4 kB / 0.5596 GB, free: 1.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1359, allocations: 4 kB / 0.5596 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1361, allocations: 47.97 kB / 0.5596 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.1362, allocations: 139.5 kB / 0.5598 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1364, allocations: 150.8 kB / 0.5599 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004377/0.1368, allocations: 382.1 kB / 0.5603 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1368, allocations: 0 / 0.5603 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1368, allocations: 0 / 0.5603 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1368, allocations: 0 / 0.5603 GB, free: 0.8477 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.0009889/0.1378, allocations: 0.7655 MB / 0.561 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1378, allocations: 8.031 kB / 0.561 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.1379, allocations: 34.75 kB / 0.561 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.138, allocations: 48.61 kB / 0.5611 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.1385, allocations: 464.3 kB / 0.5615 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1386, allocations: 8.359 kB / 0.5615 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1386, allocations: 7.938 kB / 0.5616 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.1388, allocations: 83.38 kB / 0.5616 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1388, allocations: 0 / 0.5616 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1388, allocations: 3.984 kB / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1388, allocations: 0 / 0.5616 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.1389, allocations: 31.92 kB / 0.5617 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.1394, allocations: 382.3 kB / 0.562 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1397, allocations: 105.2 kB / 0.5621 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.1398, allocations: 37.64 kB / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1398, allocations: 4 kB / 0.5622 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.14, allocations: 105.1 kB / 0.5623 GB, free: 14.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.14, allocations: 0 / 0.5623 GB, free: 14.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.000507/0.1405, allocations: 201.2 kB / 0.5625 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.1406, allocations: 81.11 kB / 0.5625 GB, free: 14.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.1417, allocations: 1.05 MB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1417, allocations: 25.7 kB / 0.5636 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1419, allocations: 248.1 kB / 0.5638 GB, free: 12.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.142, allocations: 35.67 kB / 0.5639 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.142, allocations: 29.7 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1422, allocations: 370.8 kB / 0.5642 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.1423, allocations: 27.98 kB / 0.5643 GB, free: 12.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1424, allocations: 47.42 kB / 0.5643 GB, free: 12.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.1426, allocations: 103.8 kB / 0.5644 GB, free: 12.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.1426, allocations: 3.938 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003703/0.143, allocations: 173.2 kB / 0.5646 GB, free: 12.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.143, allocations: 9.656 kB / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.143, allocations: 3.984 kB / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.143, allocations: 12.05 kB / 0.5646 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1431, allocations: 19.94 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1431, allocations: 7.984 kB / 0.5646 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.1432, allocations: 7.938 kB / 0.5646 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1433, allocations: 8 kB / 0.5646 GB, free: 12.05 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002285/0.1435, allocations: 223.9 kB / 0.5649 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-05/0.1435, allocations: 55.62 kB / 0.5649 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.1436, allocations: 60.14 kB / 0.565 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1436, allocations: 8 kB / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1437, allocations: 0 / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1437, allocations: 0 / 0.565 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.144, allocations: 341.4 kB / 0.5653 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.144, allocations: 0 / 0.5653 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.1441, allocations: 15.92 kB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1441, allocations: 0 / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1441, allocations: 4 kB / 0.5653 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1441, allocations: 4.125 kB / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1441, allocations: 0 / 0.5653 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.1445, allocations: 217.4 kB / 0.5655 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.1447, allocations: 140.8 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.1447, allocations: 0 / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.1448, allocations: 4 kB / 0.5657 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1448, allocations: 11.98 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1448, allocations: 4 kB / 0.5657 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008586/0.1457, allocations: 0.7917 MB / 0.5665 GB, free: 10.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1457, allocations: 0 / 0.5665 GB, free: 10.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.146, allocations: 47.92 kB / 0.5665 GB, free: 10.05 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.00207/0.148, allocations: 1.047 MB / 0.5675 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.1483, allocations: 75.89 kB / 0.5676 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1483, allocations: 0 / 0.5676 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1484, allocations: 35.92 kB / 0.5676 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.1489, allocations: 67.64 kB / 0.5677 GB, free: 8.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.155, allocations: 4.582 MB / 0.5722 GB, free: 4.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000566/0.1555, allocations: 0.8466 MB / 0.573 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.1557, allocations: 58.94 kB / 0.5731 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.1559, allocations: 155.4 kB / 0.5732 GB, free: 3.184 MB / 430.1 MB Notification: Performance of SimCode: time 1.382e-06/0.1559, allocations: 0 / 0.5732 GB, free: 3.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.1894, allocations: 9.151 MB / 0.5821 GB, free: 10.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.478/8.667, allocations: 7.594 kB / 0.5822 GB, free: 10.1 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56986 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.203713095994317]