Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001213/0.001214, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.486/1.486, allocations: 222.9 MB / 243 MB, free: 15.13 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.2657/0.2657, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.39 kB / 409.9 MB, free: 26.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 60.83 MB / 470.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003968/0.1441, allocations: 1.699 MB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1456, allocations: 0.8847 MB / 473.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.1457, allocations: 4 kB / 473.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.146, allocations: 31.77 kB / 473.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.1462, allocations: 59.75 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1466, allocations: 103.6 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.1468, allocations: 99.67 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1469, allocations: 16.23 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1471, allocations: 39.78 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.1472, allocations: 31.84 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1472, allocations: 7.938 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.928e-05/0.1473, allocations: 43.98 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.1473, allocations: 15.92 kB / 473.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.1474, allocations: 35.73 kB / 473.8 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.1476, allocations: 115.6 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1476, allocations: 0 / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1476, allocations: 4 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1477, allocations: 0 / 473.9 MB, free: 10.39 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.0005505/0.1482, allocations: 411 kB / 474.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1483, allocations: 8.031 kB / 474.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.1483, allocations: 12.84 kB / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.1487, allocations: 204 kB / 474.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.1487, allocations: 8.375 kB / 474.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1487, allocations: 12.11 kB / 474.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1489, allocations: 57.67 kB / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1489, allocations: 0 / 474.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.1489, allocations: 4 kB / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1489, allocations: 0 / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.149, allocations: 19.92 kB / 474.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1494, allocations: 288.8 kB / 474.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.1496, allocations: 54.69 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.1497, allocations: 24.84 kB / 475 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1497, allocations: 7.922 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.1499, allocations: 67.33 kB / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1499, allocations: 0 / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006341/0.1505, allocations: 173.2 kB / 475.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.1506, allocations: 55.41 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.1508, allocations: 186.2 kB / 475.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1508, allocations: 29.7 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.1509, allocations: 104.1 kB / 475.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.1509, allocations: 19.66 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.1509, allocations: 25.7 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1511, allocations: 322.8 kB / 475.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.1511, allocations: 23.98 kB / 476 MB, free: 8.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.1512, allocations: 37.7 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1513, allocations: 61.64 kB / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1513, allocations: 0 / 476.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001727/0.1515, allocations: 101.5 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1515, allocations: 8 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1515, allocations: 0 / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1516, allocations: 4.031 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.043e-05/0.1516, allocations: 19.92 kB / 476.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1517, allocations: 4 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.668e-05/0.1518, allocations: 3.938 kB / 476.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1518, allocations: 4 kB / 476.2 MB, free: 7.844 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 ($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.000101/0.1519, allocations: 129.1 kB / 476.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.1519, allocations: 7.906 kB / 476.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.152, allocations: 21.08 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.152, allocations: 0 / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.152, allocations: 4 kB / 476.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.152, allocations: 3.938 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000472/0.1525, allocations: 395.3 kB / 476.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1525, allocations: 0 / 476.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.1525, allocations: 8 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1525, allocations: 0 / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1525, allocations: 8.062 kB / 476.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.1525, allocations: 7.984 kB / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1525, allocations: 11.91 kB / 476.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1528, allocations: 204.4 kB / 477 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1529, allocations: 81.02 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1529, allocations: 7.938 kB / 477.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.153, allocations: 4 kB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.153, allocations: 7.984 kB / 477.1 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1531, allocations: 8 kB / 477.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1532, allocations: 143.2 kB / 477.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1532, allocations: 4 kB / 477.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1534, allocations: 24 kB / 477.3 MB, free: 6.68 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 (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.001244/0.1547, allocations: 465 kB / 477.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1549, allocations: 55.97 kB / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1549, allocations: 0 / 477.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/0.155, allocations: 35.86 kB / 477.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.1553, allocations: 27.92 kB / 477.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.1558, allocations: 231.3 kB / 478.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1561, allocations: 0.7002 MB / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.1562, allocations: 13.19 kB / 478.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1562, allocations: 23.36 kB / 478.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1562, allocations: 0 / 478.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Templates: time 0.004659/0.1609, allocations: 1.701 MB / 480.5 MB, free: 3.582 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches