Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001065, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 177.9 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 223.1 MB, free: 5.195 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4395/0.4395, allocations: 43.57 MB / 315 MB, free: 9.184 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005765/0.0005767, allocations: 22.66 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1478, allocations: 58.86 MB / 443.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002471/0.1503, allocations: 1.499 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.152, allocations: 0.8509 MB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.1521, allocations: 3.938 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006193/0.1528, allocations: 299.4 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.1532, allocations: 199.5 kB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.1537, allocations: 135.7 kB / 446.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.1541, allocations: 231.4 kB / 446.7 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.1542, allocations: 17.52 kB / 446.7 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.1544, allocations: 119.5 kB / 446.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.1547, allocations: 183.6 kB / 447 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.1547, allocations: 4 kB / 447 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.1549, allocations: 43.97 kB / 447 MB, free: 9.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.1551, allocations: 139.6 kB / 447.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.1554, allocations: 172.5 kB / 447.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.1558, allocations: 342.9 kB / 447.7 MB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1559, allocations: 4 kB / 447.7 MB, free: 8.652 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1559, allocations: 0 / 447.7 MB, free: 8.652 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.1559, allocations: 0 / 447.7 MB, free: 8.652 MB / 382.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.001057/0.157, allocations: 0.6689 MB / 448.3 MB, free: 7.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.157, allocations: 8.031 kB / 448.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.1571, allocations: 52.27 kB / 448.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.1578, allocations: 451.8 kB / 448.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1578, allocations: 384 / 448.8 MB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.1579, allocations: 12.12 kB / 448.8 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.1581, allocations: 87.3 kB / 448.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1581, allocations: 0 / 448.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1581, allocations: 0 / 448.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1581, allocations: 4 kB / 448.9 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.1583, allocations: 31.97 kB / 449 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.1588, allocations: 378.3 kB / 449.3 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.159, allocations: 105.1 kB / 449.4 MB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.1591, allocations: 41.64 kB / 449.5 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.1592, allocations: 12 kB / 449.5 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.1594, allocations: 105 kB / 449.6 MB, free: 6.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.1595, allocations: 0 / 449.6 MB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005062/0.16, allocations: 197.3 kB / 449.8 MB, free: 6.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.1601, allocations: 81.11 kB / 449.9 MB, free: 6.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.1613, allocations: 1.034 MB / 450.9 MB, free: 5.184 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1613, allocations: 33.7 kB / 450.9 MB, free: 5.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.1615, allocations: 236 kB / 451.2 MB, free: 4.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/0.1615, allocations: 27.64 kB / 451.2 MB, free: 4.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.1616, allocations: 17.72 kB / 451.2 MB, free: 4.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1618, allocations: 366.8 kB / 451.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.1619, allocations: 27.98 kB / 451.6 MB, free: 4.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-05/0.162, allocations: 59.41 kB / 451.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.1622, allocations: 91.48 kB / 451.7 MB, free: 4.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1622, allocations: 0 / 451.7 MB, free: 4.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003406/0.1625, allocations: 176.8 kB / 451.9 MB, free: 4.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1626, allocations: 8.062 kB / 451.9 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1626, allocations: 0 / 451.9 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1626, allocations: 4 kB / 451.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1627, allocations: 19.98 kB / 451.9 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1627, allocations: 0 / 451.9 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1629, allocations: 15.94 kB / 452 MB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1629, allocations: 4 kB / 452 MB, free: 4.062 MB / 382.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.0002396/0.1631, allocations: 241.5 kB / 452.2 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.1632, allocations: 51.34 kB / 452.2 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.1633, allocations: 63.94 kB / 452.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1633, allocations: 0 / 452.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1633, allocations: 0 / 452.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1633, allocations: 4 kB / 452.3 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.1637, allocations: 341.4 kB / 452.6 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1637, allocations: 4 kB / 452.6 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.1638, allocations: 4 kB / 452.7 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1638, allocations: 0 / 452.7 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1638, allocations: 8.109 kB / 452.7 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1638, allocations: 7.938 kB / 452.7 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1638, allocations: 4 kB / 452.7 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.1641, allocations: 205.2 kB / 452.9 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.1643, allocations: 144.4 kB / 453 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.1644, allocations: 4 kB / 453 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.1645, allocations: 4 kB / 453 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.1645, allocations: 11.98 kB / 453 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.1646, allocations: 8 kB / 453 MB, free: 2.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000819/0.1654, allocations: 0.7721 MB / 453.8 MB, free: 2.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1654, allocations: 0 / 453.8 MB, free: 2.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1657, allocations: 44 kB / 453.9 MB, free: 2.066 MB / 382.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.001043/0.1668, allocations: 435.3 kB / 454.3 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.167, allocations: 83.97 kB / 454.4 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.167, allocations: 0 / 454.4 MB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.1671, allocations: 35.92 kB / 454.4 MB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.1676, allocations: 73.33 kB / 454.5 MB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.169, allocations: 0.948 MB / 455.4 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2252/0.3942, allocations: 0.8403 MB / 456.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.3947, allocations: 55.28 kB / 456.3 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.3948, allocations: 30.05 kB / 456.3 MB, free: 45.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.555e-06/0.3948, allocations: 1.781 kB / 456.3 MB, free: 45.69 MB / 382.1 MB Notification: Performance of Templates: time 0.00762/0.4024, allocations: 3.459 MB / 459.8 MB, free: 45.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches