Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009067/0.0009069, allocations: 97.38 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000891/0.0008911, allocations: 176.7 kB / 16.57 MB, free: 6.391 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.356/1.356, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3305/0.3305, allocations: 43.54 MB / 314.5 MB, free: 8.742 MB / 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.0005347/0.0005348, allocations: 18.97 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1348, allocations: 58.86 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002067/0.137, allocations: 1.387 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1381, allocations: 0.7228 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.1382, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1385, allocations: 35.83 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1387, allocations: 47.83 kB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.139, allocations: 75.77 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1392, allocations: 59.86 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1393, allocations: 16.2 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.1394, allocations: 35.8 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.872e-05/0.1395, allocations: 23.91 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1395, allocations: 4 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.1396, allocations: 27.88 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.1396, allocations: 23.97 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.1397, allocations: 37.64 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1399, allocations: 80.09 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1399, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1399, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1399, allocations: 0 / 445.3 MB, free: 10.46 MB / 382.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.0005393/0.1405, allocations: 398.9 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1405, allocations: 8.031 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1405, allocations: 23.69 kB / 445.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1408, allocations: 202.9 kB / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.1408, allocations: 8 kB / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1409, allocations: 0 / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.141, allocations: 53.67 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.141, allocations: 0 / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.141, allocations: 3.984 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1411, allocations: 7.953 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.1411, allocations: 15.98 kB / 446 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.1415, allocations: 288.9 kB / 446.3 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.1417, allocations: 54.69 kB / 446.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1417, allocations: 3.984 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1419, allocations: 75.41 kB / 446.4 MB, free: 9.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1419, allocations: 0 / 446.4 MB, free: 9.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005351/0.1425, allocations: 161.3 kB / 446.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1425, allocations: 63.33 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1427, allocations: 166.2 kB / 446.8 MB, free: 8.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1427, allocations: 25.7 kB / 446.9 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.1428, allocations: 100.1 kB / 447 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1428, allocations: 27.64 kB / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.1428, allocations: 0 / 447 MB, free: 8.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1429, allocations: 326.8 kB / 447.3 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.143, allocations: 23.98 kB / 447.3 MB, free: 8.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.1431, allocations: 33.7 kB / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.1432, allocations: 24 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1432, allocations: 0 / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.1433, allocations: 97.53 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1434, allocations: 11.94 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1434, allocations: 3.938 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1434, allocations: 4.031 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.1435, allocations: 16 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1435, allocations: 0 / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.1436, allocations: 4 kB / 447.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.1436, allocations: 7.984 kB / 447.5 MB, free: 8.043 MB / 382.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 ($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.0001108/0.1437, allocations: 125.8 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.1437, allocations: 11.81 kB / 447.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.065e-05/0.1438, allocations: 24.84 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1438, allocations: 4 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1438, allocations: 3.938 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1438, allocations: 0 / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.1442, allocations: 391.3 kB / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1442, allocations: 0 / 448.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.321e-05/0.1443, allocations: 8 kB / 448.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1443, allocations: 4 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1443, allocations: 0 / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1443, allocations: 8.016 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1443, allocations: 384 / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1445, allocations: 213.9 kB / 448.3 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.1446, allocations: 92.92 kB / 448.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1446, allocations: 0 / 448.4 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.1447, allocations: 15.98 kB / 448.4 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.1448, allocations: 4 kB / 448.4 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1448, allocations: 4 kB / 448.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.1449, allocations: 139.9 kB / 448.5 MB, free: 6.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1449, allocations: 0 / 448.5 MB, free: 6.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1452, allocations: 24 kB / 448.6 MB, free: 6.883 MB / 382.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 (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.001037/0.1462, allocations: 463.8 kB / 449 MB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1464, allocations: 67.89 kB / 449.1 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1464, allocations: 0 / 449.1 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.1465, allocations: 31.92 kB / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.1468, allocations: 23.94 kB / 449.1 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004305/0.1472, allocations: 230.2 kB / 449.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1475, allocations: 0.7082 MB / 450.1 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.623e-05/0.1476, allocations: 12.88 kB / 450.1 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.1476, allocations: 19.42 kB / 450.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1476, allocations: 0 / 450.1 MB, free: 5.316 MB / 382.1 MB Notification: Performance of Templates: time 0.004329/0.152, allocations: 1.576 MB / 451.7 MB, free: 3.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches