Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002386/0.002392, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.086/2.086, 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.001191/0.001191, allocations: 103.8 kB / 270.9 MB, free: 8.363 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.5664/0.5664, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005062, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1409, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003395/0.1444, allocations: 1.342 MB / 491.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.1466, allocations: 0.7202 MB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.1467, allocations: 3.938 kB / 492.3 MB, free: 9.137 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.147, allocations: 51.81 kB / 492.3 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.1474, allocations: 47.88 kB / 492.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.1479, allocations: 75.78 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.1481, allocations: 55.92 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.961e-05/0.1482, allocations: 11.97 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.1484, allocations: 43.78 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.1485, allocations: 23.91 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1486, allocations: 4 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.1487, allocations: 27.92 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.1488, allocations: 11.98 kB / 492.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.1489, allocations: 37.64 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1491, allocations: 80.05 kB / 492.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1492, allocations: 0 / 492.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1492, allocations: 0 / 492.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1492, allocations: 0 / 492.7 MB, free: 8.668 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007615/0.15, allocations: 383 kB / 493.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.15, allocations: 8.031 kB / 493.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.1501, allocations: 11.91 kB / 493.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.1505, allocations: 202.8 kB / 493.3 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.1506, allocations: 4 kB / 493.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1506, allocations: 3.984 kB / 493.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.1508, allocations: 49.67 kB / 493.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1509, allocations: 0 / 493.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1509, allocations: 0 / 493.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1509, allocations: 3.953 kB / 493.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.1511, allocations: 19.92 kB / 493.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.1514, allocations: 185.6 kB / 493.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.1518, allocations: 50.56 kB / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.1518, allocations: 0 / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.1521, allocations: 63.48 kB / 493.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.366e-06/0.1521, allocations: 0 / 493.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005653/0.1527, allocations: 105.5 kB / 493.8 MB, free: 7.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1528, allocations: 55.36 kB / 493.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.1532, allocations: 166.2 kB / 494 MB, free: 7.188 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.1532, allocations: 25.7 kB / 494.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1533, allocations: 162.6 kB / 494.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.1534, allocations: 19.73 kB / 494.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.1535, allocations: 0 / 494.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1536, allocations: 322.8 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.1538, allocations: 16 kB / 494.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1539, allocations: 29.7 kB / 494.6 MB, free: 6.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.154, allocations: 12 kB / 494.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.154, allocations: 0 / 494.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003732/0.1544, allocations: 77.92 kB / 494.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.1545, allocations: 4 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1545, allocations: 0 / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1545, allocations: 4.031 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1547, allocations: 20 kB / 494.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1547, allocations: 0 / 494.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.1549, allocations: 11.94 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1549, allocations: 0 / 494.7 MB, free: 6.469 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 (7): * Single equations (assignments): 7 * 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.000179/0.1551, allocations: 125.8 kB / 494.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.1552, allocations: 7.906 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.1552, allocations: 16.3 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1553, allocations: 0 / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1553, allocations: 4 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1553, allocations: 0 / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1556, allocations: 185.6 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1556, allocations: 0 / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.1557, allocations: 4 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1557, allocations: 0 / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1557, allocations: 3.938 kB / 495.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.1557, allocations: 3.984 kB / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1557, allocations: 0 / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.1561, allocations: 108.9 kB / 495.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.1562, allocations: 93 kB / 495.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.1563, allocations: 0 / 495.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.1564, allocations: 7.938 kB / 495.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.1565, allocations: 7.984 kB / 495.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.1565, allocations: 0 / 495.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002186/0.1568, allocations: 135.9 kB / 495.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1568, allocations: 0 / 495.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004917/0.1573, allocations: 16 kB / 495.4 MB, free: 5.672 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001753/0.1591, allocations: 420.5 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1594, allocations: 35.98 kB / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1594, allocations: 0 / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1596, allocations: 23.94 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.16, allocations: 27.92 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.1608, allocations: 226.8 kB / 496.1 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1612, allocations: 0.7004 MB / 496.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.089e-05/0.1613, allocations: 15.44 kB / 496.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1613, allocations: 4 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of Templates: time 0.006683/0.168, allocations: 1.652 MB / 498.5 MB, free: 2.57 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches