Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009239/0.000924, allocations: 98.03 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009881/0.0009882, allocations: 188.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.3 MB / 241.9 MB, free: 14.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2245/0.2245, allocations: 44.25 MB / 337.3 MB, free: 2.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003591, allocations: 16 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00235/0.1338, allocations: 1.398 MB / 473 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1353, allocations: 0.7959 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.1354, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1358, allocations: 75.77 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.136, allocations: 63.8 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1363, allocations: 91.83 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1365, allocations: 95.67 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.1366, allocations: 8.234 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.84e-05/0.1367, allocations: 43.78 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.157e-05/0.1368, allocations: 51.75 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1368, allocations: 4 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-05/0.1369, allocations: 39.97 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.137, allocations: 27.92 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.137, allocations: 37.64 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.1372, allocations: 92.08 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1372, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1372, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1372, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.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.0005234/0.1377, allocations: 402.8 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1378, allocations: 8.031 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1379, allocations: 11.91 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.1381, allocations: 202.8 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1381, allocations: 4 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1381, allocations: 4 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.1383, allocations: 53.62 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1383, allocations: 4 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1383, allocations: 4 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1383, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.306e-05/0.1384, allocations: 19.92 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.1388, allocations: 300.8 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.139, allocations: 54.69 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.1391, allocations: 20.84 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1391, allocations: 0 / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.1393, allocations: 75.33 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1393, allocations: 0 / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005692/0.1399, allocations: 181.3 kB / 475.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.14, allocations: 51.41 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.1402, allocations: 211.2 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1402, allocations: 33.7 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.1403, allocations: 104.1 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1403, allocations: 27.58 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.1403, allocations: 8 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1404, allocations: 326.8 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.1405, allocations: 23.98 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.1406, allocations: 29.72 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.1406, allocations: 23.98 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1406, allocations: 0 / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1408, allocations: 109.5 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1408, allocations: 8 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1408, allocations: 0 / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1409, allocations: 0 / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.141, allocations: 19.98 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.141, allocations: 3.938 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.141, allocations: 0 / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.141, allocations: 4 kB / 476.7 MB, free: 8.32 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.1411, allocations: 134.3 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1412, allocations: 19.8 kB / 476.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.1412, allocations: 25.48 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1412, allocations: 0 / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1412, allocations: 0 / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1412, allocations: 0 / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.1417, allocations: 399.3 kB / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1417, allocations: 0 / 477.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.22e-05/0.1417, allocations: 11.98 kB / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1417, allocations: 8.031 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1417, allocations: 0 / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1418, allocations: 0 / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1418, allocations: 0 / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.142, allocations: 204.2 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1421, allocations: 96.91 kB / 477.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.1421, allocations: 4 kB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.1422, allocations: 4 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.1423, allocations: 7.984 kB / 477.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1423, allocations: 8 kB / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1424, allocations: 155.2 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1424, allocations: 0 / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1427, allocations: 20.19 kB / 477.8 MB, free: 7.141 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.1438, allocations: 470.9 kB / 478.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.144, allocations: 55.92 kB / 478.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.144, allocations: 0 / 478.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/0.1441, allocations: 31.92 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1444, allocations: 38.25 kB / 478.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.1449, allocations: 250.2 kB / 478.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1452, allocations: 0.716 MB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.466e-05/0.1452, allocations: 13.19 kB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.1453, allocations: 19.42 kB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1453, allocations: 0 / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of Templates: time 0.004457/0.1497, allocations: 1.599 MB / 480.9 MB, free: 4.102 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches