Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007341/0.0007341, allocations: 102.8 kB / 16.02 MB, free: 76 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.0008567/0.0008568, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.4854/0.4854, allocations: 43.58 MB / 315 MB, free: 8.945 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.0005294/0.0005296, allocations: 12.61 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1494, allocations: 58.87 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002352/0.1518, allocations: 1.418 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1533, allocations: 0.773 MB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.627e-05/0.1534, allocations: 3.938 kB / 445.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1537, allocations: 35.89 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.1538, allocations: 43.84 kB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1541, allocations: 79.84 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.1542, allocations: 91.69 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.1543, allocations: 16.22 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.1544, allocations: 39.78 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.1545, allocations: 31.78 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1545, allocations: 4 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.1546, allocations: 35.98 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.1547, allocations: 15.92 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1549, allocations: 57.45 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.155, allocations: 115.9 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1551, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1551, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.1551, allocations: 0 / 446.2 MB, free: 10.12 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.000547/0.1556, allocations: 403 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1557, allocations: 12.03 kB / 446.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1557, allocations: 8.844 kB / 446.6 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.156, allocations: 208 kB / 446.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.156, allocations: 4.375 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.156, allocations: 8.125 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1562, allocations: 49.67 kB / 446.9 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1562, allocations: 4 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1562, allocations: 11.94 kB / 446.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1562, allocations: 3.938 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.1563, allocations: 23.92 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.1567, allocations: 280.9 kB / 447.2 MB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1569, allocations: 54.67 kB / 447.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.1569, allocations: 20.86 kB / 447.3 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1569, allocations: 7.984 kB / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.1573, allocations: 75.23 kB / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1573, allocations: 0 / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005036/0.1578, allocations: 169.3 kB / 447.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1579, allocations: 55.39 kB / 447.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.1582, allocations: 186.2 kB / 447.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1582, allocations: 29.7 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.1583, allocations: 104.1 kB / 447.9 MB, free: 8.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1583, allocations: 23.7 kB / 447.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1584, allocations: 13.72 kB / 447.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1586, allocations: 326.8 kB / 448.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.1586, allocations: 20 kB / 448.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-05/0.1587, allocations: 33.7 kB / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1588, allocations: 65.64 kB / 448.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1588, allocations: 0 / 448.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.159, allocations: 97.58 kB / 448.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.159, allocations: 8 kB / 448.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.159, allocations: 0 / 448.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1591, allocations: 0 / 448.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1592, allocations: 15.94 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1592, allocations: 4 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1592, allocations: 11.95 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1592, allocations: 4 kB / 448.5 MB, free: 7.586 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 ($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 9.904e-05/0.1593, allocations: 125.8 kB / 448.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.1594, allocations: 11.91 kB / 448.6 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.1594, allocations: 16.7 kB / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1594, allocations: 0 / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1595, allocations: 0 / 448.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1595, allocations: 3.938 kB / 448.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005653/0.16, allocations: 399.4 kB / 449 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1601, allocations: 192 / 449 MB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.1601, allocations: 15.92 kB / 449.1 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1601, allocations: 7.875 kB / 449.1 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1601, allocations: 7.938 kB / 449.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1601, allocations: 80 / 449.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1602, allocations: 3.984 kB / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1604, allocations: 204.3 kB / 449.3 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.1605, allocations: 92.91 kB / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1605, allocations: 7.938 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.1606, allocations: 4 kB / 449.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1606, allocations: 7.984 kB / 449.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1606, allocations: 4 kB / 449.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1608, allocations: 140.1 kB / 449.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1608, allocations: 4 kB / 449.5 MB, free: 6.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.161, allocations: 23.98 kB / 449.6 MB, free: 6.426 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 (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.001081/0.1621, allocations: 476.3 kB / 450 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1623, allocations: 55.92 kB / 450.1 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1623, allocations: 0 / 450.1 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.1624, allocations: 35.92 kB / 450.1 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.1627, allocations: 27.97 kB / 450.1 MB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.1632, allocations: 242.8 kB / 450.4 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.1637, allocations: 0.7004 MB / 451.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.1637, allocations: 21.17 kB / 451.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.1638, allocations: 15.44 kB / 451.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1638, allocations: 3.938 kB / 451.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of Templates: time 0.004152/0.168, allocations: 1.611 MB / 452.7 MB, free: 3.227 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches