Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.00246/0.00246, 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.002986/0.002986, 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.728/1.728, 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.2564/0.2564, allocations: 46.93 MB / 357.1 MB, free: 10.33 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 75.89 kB / 0.4915 GB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1361, allocations: 65.99 MB / 0.5559 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003564/0.1396, allocations: 1.833 MB / 0.5577 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1417, allocations: 1.105 MB / 0.5588 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.828e-05/0.1418, allocations: 3.938 kB / 0.5588 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005984/0.1424, allocations: 311.3 kB / 0.5591 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.1429, allocations: 255.2 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1431, allocations: 107.7 kB / 0.5594 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.1435, allocations: 271.2 kB / 0.5597 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.1436, allocations: 5.688 kB / 0.5597 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1437, allocations: 139.5 kB / 0.5598 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.144, allocations: 219.4 kB / 0.56 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.144, allocations: 8 kB / 0.56 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1442, allocations: 43.98 kB / 0.5601 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1443, allocations: 147.5 kB / 0.5602 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.1445, allocations: 138.8 kB / 0.5604 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.145, allocations: 386.1 kB / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.145, allocations: 4 kB / 0.5607 GB, free: 352 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.145, allocations: 0 / 0.5607 GB, free: 352 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.145, allocations: 0 / 0.5607 GB, free: 352 kB / 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.001311/0.1463, allocations: 0.7655 MB / 0.5615 GB, free: 15.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1463, allocations: 8.031 kB / 0.5615 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.1464, allocations: 48.61 kB / 0.5615 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.1471, allocations: 468.3 kB / 0.562 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1471, allocations: 4.375 kB / 0.562 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1471, allocations: 12.12 kB / 0.562 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.1474, allocations: 87.34 kB / 0.5621 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1474, allocations: 0 / 0.5621 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1474, allocations: 0 / 0.5621 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1474, allocations: 0 / 0.5621 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1475, allocations: 31.92 kB / 0.5621 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.148, allocations: 386.3 kB / 0.5625 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.1483, allocations: 97.23 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1484, allocations: 41.58 kB / 0.5626 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.1484, allocations: 8 kB / 0.5626 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.1486, allocations: 109.1 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1486, allocations: 0 / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005326/0.1492, allocations: 193.7 kB / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.593e-05/0.1492, allocations: 81.11 kB / 0.563 GB, free: 13.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.1508, allocations: 1.058 MB / 0.564 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1508, allocations: 25.7 kB / 0.564 GB, free: 12.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.151, allocations: 240.1 kB / 0.5643 GB, free: 12.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.151, allocations: 31.73 kB / 0.5643 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.1511, allocations: 33.64 kB / 0.5643 GB, free: 12.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002797/0.1514, allocations: 370.7 kB / 0.5647 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.1515, allocations: 27.98 kB / 0.5647 GB, free: 12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.1517, allocations: 63.47 kB / 0.5648 GB, free: 11.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.1519, allocations: 87.36 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1519, allocations: 3.938 kB / 0.5649 GB, free: 11.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003353/0.1522, allocations: 181.2 kB / 0.565 GB, free: 11.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1522, allocations: 5.875 kB / 0.565 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1522, allocations: 4 kB / 0.565 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1522, allocations: 0 / 0.565 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1524, allocations: 23.92 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1524, allocations: 4 kB / 0.5651 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1525, allocations: 11.94 kB / 0.5651 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1525, allocations: 4 kB / 0.5651 GB, free: 11.59 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.0002346/0.1527, allocations: 227.9 kB / 0.5653 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.1528, allocations: 59.62 kB / 0.5654 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.024e-05/0.1529, allocations: 56.14 kB / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1529, allocations: 4 kB / 0.5654 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1529, allocations: 0 / 0.5654 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.1529, allocations: 7.969 kB / 0.5654 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.1533, allocations: 345.4 kB / 0.5657 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1533, allocations: 4.125 kB / 0.5658 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.04e-05/0.1533, allocations: 11.94 kB / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1533, allocations: 4 kB / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1533, allocations: 0 / 0.5658 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1533, allocations: 4 kB / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.1533, allocations: 7.984 kB / 0.5658 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.1537, allocations: 201.5 kB / 0.566 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1538, allocations: 140.8 kB / 0.5661 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.1539, allocations: 4 kB / 0.5661 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.154, allocations: 7.984 kB / 0.5661 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.154, allocations: 8 kB / 0.5661 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.154, allocations: 11.98 kB / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008985/0.1549, allocations: 0.7839 MB / 0.5669 GB, free: 9.629 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1549, allocations: 0 / 0.5669 GB, free: 9.629 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1552, allocations: 43.94 kB / 0.5669 GB, free: 9.586 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.00154/0.1567, allocations: 417.8 kB / 0.5673 GB, free: 9.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.157, allocations: 83.83 kB / 0.5674 GB, free: 9.242 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.157, allocations: 0 / 0.5674 GB, free: 9.242 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1571, allocations: 31.98 kB / 0.5675 GB, free: 9.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.1576, allocations: 76.55 kB / 0.5675 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.159, allocations: 0.8855 MB / 0.5684 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.1595, allocations: 0.8505 MB / 0.5692 GB, free: 7.352 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1597, allocations: 54.95 kB / 0.5693 GB, free: 7.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.1597, allocations: 31.42 kB / 0.5693 GB, free: 7.27 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1597, allocations: 0 / 0.5693 GB, free: 7.27 MB / 430.1 MB Notification: Performance of Templates: time 0.009523/0.1693, allocations: 3.833 MB / 0.573 GB, free: 3.457 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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: 5.4936578422784805]