Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001776, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001833/0.001833, allocations: 195 kB / 17.98 MB, free: 5.027 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.516/1.516, 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.2191/0.2191, allocations: 43.51 MB / 314.7 MB, free: 492 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.002581/0.002581, allocations: 68.73 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1475, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003258/0.1508, allocations: 1.696 MB / 443.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1521, allocations: 0.8 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1522, allocations: 4 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.1526, allocations: 47.75 kB / 444.5 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.153, allocations: 47.77 kB / 444.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1533, allocations: 91.7 kB / 444.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1535, allocations: 91.75 kB / 444.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1536, allocations: 16.16 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.1537, allocations: 35.86 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.005e-05/0.1538, allocations: 31.78 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1539, allocations: 8 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.154, allocations: 43.98 kB / 444.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.1541, allocations: 15.92 kB / 444.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.1541, allocations: 35.73 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1544, allocations: 107.6 kB / 445 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1544, allocations: 4 kB / 445 MB, free: 3.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1544, allocations: 0 / 445 MB, free: 3.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1544, allocations: 0 / 445 MB, free: 3.074 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.0006041/0.155, allocations: 414.9 kB / 445.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1551, allocations: 15.89 kB / 445.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.1552, allocations: 8.844 kB / 445.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1555, allocations: 213 kB / 445.7 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1555, allocations: 4.375 kB / 445.7 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1555, allocations: 4.125 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1557, allocations: 57.61 kB / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1557, allocations: 0 / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.1557, allocations: 0 / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1557, allocations: 4 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.1558, allocations: 19.98 kB / 445.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.1561, allocations: 288.8 kB / 446 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.1563, allocations: 58.61 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.1564, allocations: 24.84 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1564, allocations: 4 kB / 446.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.1565, allocations: 63.39 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1566, allocations: 0 / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005334/0.1571, allocations: 177.1 kB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.1571, allocations: 55.41 kB / 446.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.1573, allocations: 186.1 kB / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.1573, allocations: 29.7 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.1573, allocations: 112.1 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1574, allocations: 23.7 kB / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1574, allocations: 17.72 kB / 446.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.786e-05/0.1575, allocations: 326.8 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.1575, allocations: 23.98 kB / 447.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.221e-05/0.1576, allocations: 37.64 kB / 447.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.618e-05/0.1577, allocations: 62.09 kB / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1577, allocations: 0 / 447.2 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001584/0.1579, allocations: 101.6 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1579, allocations: 9.188 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1579, allocations: 8 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1579, allocations: 0 / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.158, allocations: 15.98 kB / 447.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.158, allocations: 0 / 447.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.1581, allocations: 11.94 kB / 447.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1581, allocations: 8.031 kB / 447.4 MB, free: 0.5039 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.316e-05/0.1582, allocations: 129.7 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1582, allocations: 11.81 kB / 447.5 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.1582, allocations: 12.72 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1582, allocations: 7.984 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1583, allocations: 0 / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1583, allocations: 3.938 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.1587, allocations: 395.3 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1587, allocations: 7.984 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.1587, allocations: 8 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1587, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1588, allocations: 3.938 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1588, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1588, allocations: 4 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.159, allocations: 208.2 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.1592, allocations: 85 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1592, allocations: 11.94 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.1593, allocations: 0 / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1594, allocations: 7.984 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1594, allocations: 4 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1595, allocations: 135.2 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1595, allocations: 192 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1598, allocations: 31.89 kB / 448.4 MB, free: 15.34 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.001217/0.1611, allocations: 476.4 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1613, allocations: 59.91 kB / 448.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1613, allocations: 4.062 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.1614, allocations: 27.94 kB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1618, allocations: 37.48 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.1623, allocations: 215.3 kB / 449.2 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1627, allocations: 0.7041 MB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.678e-05/0.1628, allocations: 12.88 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.1628, allocations: 15.44 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1629, allocations: 0 / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of Templates: time 0.005134/0.168, allocations: 1.683 MB / 451.6 MB, free: 12.17 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches