Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001515, allocations: 108.1 kB / 17.03 MB, free: 5.664 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.001938/0.001938, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2248/0.2248, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 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.001449/0.001449, allocations: 70.84 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1478, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003741/0.1516, allocations: 1.7 MB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1529, allocations: 0.8 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.093e-05/0.153, allocations: 4 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.1534, allocations: 39.77 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1537, allocations: 51.77 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1539, allocations: 91.69 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1541, allocations: 87.7 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1542, allocations: 12.23 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.1543, allocations: 39.78 kB / 444.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.1544, allocations: 35.84 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1544, allocations: 4 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1545, allocations: 47.92 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.1546, allocations: 19.91 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.1547, allocations: 27.81 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1549, allocations: 111.6 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1549, allocations: 0 / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1549, allocations: 0 / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1549, allocations: 0 / 445 MB, free: 3.062 MB / 318.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.0005452/0.1555, allocations: 395 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1555, allocations: 19.83 kB / 445.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.1556, allocations: 12.83 kB / 445.4 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1558, allocations: 200.7 kB / 445.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.1558, allocations: 7.938 kB / 445.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1559, allocations: 0 / 445.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.156, allocations: 53.67 kB / 445.7 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.156, allocations: 7.969 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.156, allocations: 4 kB / 445.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1561, allocations: 4 kB / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.458e-05/0.1562, allocations: 19.92 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.1565, allocations: 280.8 kB / 446 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1567, allocations: 58.67 kB / 446.1 MB, free: 1.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.1568, allocations: 20.84 kB / 446.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1568, allocations: 8 kB / 446.1 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.1569, allocations: 75.25 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1569, allocations: 0 / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005026/0.1575, allocations: 169.2 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.1575, allocations: 55.34 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1576, allocations: 163 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1576, allocations: 29.7 kB / 446.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.1577, allocations: 96.14 kB / 446.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1577, allocations: 27.64 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.1578, allocations: 21.72 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.1578, allocations: 318.8 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.1579, allocations: 23.98 kB / 447 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.1579, allocations: 38.08 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/0.158, allocations: 61.66 kB / 447.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.158, allocations: 0 / 447.1 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001457/0.1582, allocations: 101.6 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1582, allocations: 9.25 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1582, allocations: 0 / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1583, allocations: 3.938 kB / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.1583, allocations: 19.92 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1584, allocations: 4 kB / 447.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.1584, allocations: 8.031 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1584, allocations: 4 kB / 447.3 MB, free: 0.5508 MB / 318.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 7.178e-05/0.1585, allocations: 125.8 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.1585, allocations: 11.81 kB / 447.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.1586, allocations: 16.66 kB / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1586, allocations: 0 / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1586, allocations: 0 / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1586, allocations: 0 / 447.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.159, allocations: 395.3 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.159, allocations: 0 / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.1591, allocations: 15.92 kB / 447.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1591, allocations: 4 kB / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1591, allocations: 0 / 447.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1591, allocations: 3.938 kB / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1591, allocations: 0 / 447.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.1594, allocations: 204.3 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.1595, allocations: 85.2 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.1595, allocations: 0 / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.1596, allocations: 15.92 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.1597, allocations: 4 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1597, allocations: 4 kB / 448.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1598, allocations: 123.9 kB / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 0 / 448.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1601, allocations: 31.98 kB / 448.3 MB, free: 15.42 MB / 334.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.001229/0.1613, allocations: 466.6 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1616, allocations: 67.91 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1616, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.321e-05/0.1616, allocations: 27.94 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.162, allocations: 39.83 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.1624, allocations: 203.2 kB / 449.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1628, allocations: 0.7003 MB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.942e-05/0.1629, allocations: 13.2 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.1629, allocations: 19.42 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1629, allocations: 3.938 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004955/0.1679, allocations: 1.673 MB / 451.5 MB, free: 12.27 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches