Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001065, allocations: 88.19 kB / 15.7 MB, free: 460 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.002212/0.002213, allocations: 178.6 kB / 16.58 MB, free: 6.84 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.153/2.153, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.4144/0.4144, allocations: 43.58 MB / 314.6 MB, free: 8.77 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.0005028/0.0005028, allocations: 19.94 kB / 384 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1389, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002403/0.1414, allocations: 1.394 MB / 444.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.1433, allocations: 1.313 MB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.1434, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.1437, allocations: 31.89 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1439, allocations: 51.77 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1442, allocations: 75.84 kB / 445.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.1444, allocations: 79.77 kB / 445.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1445, allocations: 16.2 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.1446, allocations: 43.78 kB / 445.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1447, allocations: 27.86 kB / 445.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1447, allocations: 0 / 445.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1449, allocations: 55.89 kB / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.1449, allocations: 8 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.145, allocations: 45.61 kB / 446 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1452, allocations: 92.03 kB / 446 MB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1452, allocations: 4 kB / 446.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1452, allocations: 0 / 446.1 MB, free: 9.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.1452, allocations: 0 / 446.1 MB, free: 9.758 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.000587/0.1458, allocations: 391 kB / 446.4 MB, free: 9.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.1459, allocations: 12.02 kB / 446.4 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.1459, allocations: 11.84 kB / 446.5 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.1462, allocations: 206.8 kB / 446.7 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1462, allocations: 0 / 446.7 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.1463, allocations: 11.98 kB / 446.7 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1464, allocations: 63.39 kB / 446.7 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1465, allocations: 3.953 kB / 446.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1465, allocations: 4 kB / 446.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1465, allocations: 0 / 446.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.416e-05/0.1466, allocations: 19.92 kB / 446.8 MB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.147, allocations: 284.9 kB / 447 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.1471, allocations: 54.69 kB / 447.1 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.513e-05/0.1472, allocations: 24.8 kB / 447.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1472, allocations: 0 / 447.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/0.1474, allocations: 75.33 kB / 447.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1475, allocations: 4 kB / 447.2 MB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005198/0.148, allocations: 169.2 kB / 447.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.1481, allocations: 89.05 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1482, allocations: 149.1 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1482, allocations: 29.7 kB / 447.6 MB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.1483, allocations: 92.14 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1483, allocations: 27.64 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.1483, allocations: 4 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.1486, allocations: 326.8 kB / 448.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.1486, allocations: 20 kB / 448.1 MB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.1487, allocations: 42.56 kB / 448.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.1488, allocations: 31.97 kB / 448.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1488, allocations: 0 / 448.2 MB, free: 7.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001669/0.1489, allocations: 93.53 kB / 448.2 MB, free: 7.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.149, allocations: 8.062 kB / 448.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.149, allocations: 0 / 448.3 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.149, allocations: 4 kB / 448.3 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.1491, allocations: 15.98 kB / 448.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1491, allocations: 0 / 448.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.1492, allocations: 8 kB / 448.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.1492, allocations: 11.88 kB / 448.3 MB, free: 7.277 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 8.974e-05/0.1493, allocations: 125.8 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.1493, allocations: 11.91 kB / 448.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.1493, allocations: 12.72 kB / 448.4 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1493, allocations: 4 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1494, allocations: 0 / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1494, allocations: 0 / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.1498, allocations: 395.3 kB / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1498, allocations: 0 / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.1498, allocations: 8 kB / 448.8 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1498, allocations: 4.219 kB / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1498, allocations: 0 / 448.8 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1499, allocations: 7.938 kB / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1499, allocations: 0 / 448.8 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.1501, allocations: 208.1 kB / 449.1 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.1501, allocations: 93 kB / 449.1 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.1502, allocations: 4 kB / 449.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.1503, allocations: 8.359 kB / 449.2 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1503, allocations: 4 kB / 449.2 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.1503, allocations: 8 kB / 449.2 MB, free: 6.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.815e-05/0.1504, allocations: 115.2 kB / 449.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1504, allocations: 0 / 449.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1507, allocations: 39.94 kB / 449.3 MB, free: 6.148 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.001116/0.1518, allocations: 0.4961 MB / 449.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.152, allocations: 59.91 kB / 449.9 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.152, allocations: 4.062 kB / 449.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.1521, allocations: 27.92 kB / 449.9 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1524, allocations: 27.98 kB / 449.9 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.1528, allocations: 202.2 kB / 450.1 MB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.153, allocations: 0.6965 MB / 450.8 MB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.1531, allocations: 13.19 kB / 450.8 MB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.1532, allocations: 19.44 kB / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1532, allocations: 0 / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of Templates: time 0.00462/0.1578, allocations: 1.838 MB / 452.7 MB, free: 2.746 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches