Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001954/0.001954, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008379/0.0008376, allocations: 86.36 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.445/0.445, allocations: 43.56 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 23.94 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002184/0.1405, allocations: 1.398 MB / 491.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1418, allocations: 0.7383 MB / 492.4 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.1419, allocations: 4 kB / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1421, allocations: 31.89 kB / 492.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1423, allocations: 47.77 kB / 492.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1426, allocations: 71.84 kB / 492.5 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1428, allocations: 79.77 kB / 492.6 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.1429, allocations: 8.219 kB / 492.6 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.326e-05/0.1429, allocations: 39.78 kB / 492.7 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.143, allocations: 31.84 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1431, allocations: 4 kB / 492.7 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.306e-05/0.1432, allocations: 35.98 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1432, allocations: 15.88 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1433, allocations: 41.62 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1434, allocations: 76.11 kB / 492.9 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.1434, allocations: 3.984 kB / 492.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1434, allocations: 0 / 492.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1434, allocations: 0 / 492.9 MB, free: 8.344 MB / 378.7 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.0005495/0.144, allocations: 395 kB / 493.2 MB, free: 7.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.144, allocations: 8.031 kB / 493.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.1441, allocations: 7.906 kB / 493.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1443, allocations: 207.3 kB / 493.5 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1444, allocations: 3.984 kB / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1444, allocations: 0 / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1446, allocations: 61.61 kB / 493.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1446, allocations: 4 kB / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1446, allocations: 0 / 493.5 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1446, allocations: 7.953 kB / 493.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/0.1447, allocations: 19.98 kB / 493.6 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.1451, allocations: 284.8 kB / 493.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1453, allocations: 54.69 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.48e-05/0.1453, allocations: 20.84 kB / 493.9 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.1454, allocations: 8 kB / 493.9 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.1456, allocations: 67.34 kB / 494 MB, free: 7.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1456, allocations: 0 / 494 MB, free: 7.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005316/0.1461, allocations: 169.2 kB / 494.1 MB, free: 6.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1462, allocations: 51.41 kB / 494.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.1463, allocations: 159 kB / 494.4 MB, free: 6.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.1464, allocations: 37.64 kB / 494.4 MB, free: 6.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.1464, allocations: 96.14 kB / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.1465, allocations: 27.64 kB / 494.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.1465, allocations: 0 / 494.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1466, allocations: 322.8 kB / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.1467, allocations: 23.98 kB / 494.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/0.1468, allocations: 33.7 kB / 494.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.352e-05/0.1468, allocations: 28 kB / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1468, allocations: 0 / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001799/0.147, allocations: 109.4 kB / 495 MB, free: 5.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.147, allocations: 4 kB / 495 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1471, allocations: 0 / 495 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1471, allocations: 4 kB / 495 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.1472, allocations: 15.98 kB / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1472, allocations: 0 / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1472, allocations: 4 kB / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.1473, allocations: 4.031 kB / 495 MB, free: 5.922 MB / 378.7 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.0001121/0.1474, allocations: 133.8 kB / 495.2 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.1474, allocations: 11.86 kB / 495.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.1474, allocations: 12.72 kB / 495.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1474, allocations: 4 kB / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1475, allocations: 0 / 495.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1475, allocations: 11.91 kB / 495.2 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.1479, allocations: 391.3 kB / 495.6 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1479, allocations: 0 / 495.6 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.148, allocations: 8 kB / 495.6 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.148, allocations: 0 / 495.6 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.148, allocations: 4.375 kB / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.148, allocations: 4 kB / 495.6 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.148, allocations: 4 kB / 495.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1482, allocations: 204.5 kB / 495.8 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1483, allocations: 96.86 kB / 495.9 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1483, allocations: 4 kB / 495.9 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.1484, allocations: 4 kB / 495.9 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1484, allocations: 3.984 kB / 495.9 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1485, allocations: 8 kB / 495.9 MB, free: 4.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.178e-05/0.1486, allocations: 124.6 kB / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1486, allocations: 0 / 496.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.1488, allocations: 23.98 kB / 496.1 MB, free: 4.789 MB / 378.7 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.0009544/0.1498, allocations: 464 kB / 496.5 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.15, allocations: 59.92 kB / 496.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.15, allocations: 4.062 kB / 496.6 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.15, allocations: 23.98 kB / 496.6 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.1504, allocations: 23.98 kB / 496.6 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.1508, allocations: 251.7 kB / 496.9 MB, free: 3.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1511, allocations: 0.7082 MB / 497.6 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/0.1511, allocations: 11.44 kB / 497.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1512, allocations: 4 kB / 497.6 MB, free: 3.246 MB / 378.7 MB Notification: Performance of Templates: time 0.003416/0.1546, allocations: 1.821 MB / 499.4 MB, free: 1.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches