Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.0008429/0.000843, allocations: 87.45 kB / 267 MB, free: 9.277 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.3257/0.3257, allocations: 43.47 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.643e-05, allocations: 4 kB / 425.3 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 58.85 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3489/0.4591, allocations: 87.45 MB / 0.5582 GB, free: 1.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.4594, allocations: 81.48 kB / 0.5583 GB, free: 1.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01402/0.4734, allocations: 5.515 MB / 0.5637 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4735, allocations: 0 / 0.5637 GB, free: 12.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.4735, allocations: 4.656 kB / 0.5637 GB, free: 12.02 MB / 394.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.0004206/0.4739, allocations: 404 kB / 0.5641 GB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.474, allocations: 12.03 kB / 0.5641 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.474, allocations: 23.23 kB / 0.5641 GB, free: 11.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.4743, allocations: 222.7 kB / 0.5643 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4743, allocations: 3.984 kB / 0.5643 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.4744, allocations: 4 kB / 0.5643 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.4745, allocations: 45.69 kB / 0.5644 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.4745, allocations: 0 / 0.5644 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.4745, allocations: 3.984 kB / 0.5644 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4745, allocations: 5.375 kB / 0.5644 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.264e-05/0.4746, allocations: 19.92 kB / 0.5644 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002147/0.4748, allocations: 197.6 kB / 0.5646 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.4749, allocations: 46.62 kB / 0.5646 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.841e-05/0.475, allocations: 20.86 kB / 0.5646 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.475, allocations: 0 / 0.5646 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.4751, allocations: 67.42 kB / 0.5647 GB, free: 10.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.4751, allocations: 5.406 kB / 0.5647 GB, free: 10.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001974/0.4753, allocations: 81.5 kB / 0.5648 GB, free: 10.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.4754, allocations: 51.41 kB / 0.5648 GB, free: 10.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.4756, allocations: 234.8 kB / 0.5651 GB, free: 10.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.4756, allocations: 25.7 kB / 0.5651 GB, free: 10.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.4757, allocations: 116.1 kB / 0.5652 GB, free: 10.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.4757, allocations: 15.88 kB / 0.5652 GB, free: 10.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.4757, allocations: 4 kB / 0.5652 GB, free: 10.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4759, allocations: 330.8 kB / 0.5655 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.4759, allocations: 12 kB / 0.5655 GB, free: 9.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.4759, allocations: 21.72 kB / 0.5656 GB, free: 9.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.476, allocations: 23.88 kB / 0.5656 GB, free: 9.863 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.476, allocations: 0 / 0.5656 GB, free: 9.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001235/0.4761, allocations: 82.38 kB / 0.5657 GB, free: 9.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4761, allocations: 8 kB / 0.5657 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4761, allocations: 0.6562 kB / 0.5657 GB, free: 9.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.4762, allocations: 4.031 kB / 0.5657 GB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.4762, allocations: 15.92 kB / 0.5657 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4763, allocations: 0 / 0.5657 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.4763, allocations: 8.031 kB / 0.5657 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.4763, allocations: 12 kB / 0.5657 GB, free: 9.73 MB / 394.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 () * 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 6.732e-05/0.4764, allocations: 107.5 kB / 0.5658 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.4764, allocations: 15.84 kB / 0.5658 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.4766, allocations: 94.66 kB / 0.5659 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4766, allocations: 7.938 kB / 0.5659 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4766, allocations: 4 kB / 0.5659 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4766, allocations: 0 / 0.5659 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.4768, allocations: 205.5 kB / 0.5661 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4768, allocations: 7.953 kB / 0.5661 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.4768, allocations: 4 kB / 0.5661 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4768, allocations: 0 / 0.5661 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4768, allocations: 7.984 kB / 0.5662 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4769, allocations: 0 / 0.5662 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4769, allocations: 0 / 0.5662 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.477, allocations: 113 kB / 0.5663 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.4771, allocations: 100.9 kB / 0.5664 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.4771, allocations: 4 kB / 0.5664 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.337e-05/0.4772, allocations: 3.984 kB / 0.5664 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4772, allocations: 8 kB / 0.5664 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4772, allocations: 0 / 0.5664 GB, free: 8.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.4774, allocations: 197.4 kB / 0.5666 GB, free: 8.777 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4774, allocations: 3.938 kB / 0.5666 GB, free: 8.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.4776, allocations: 35.98 kB / 0.5666 GB, free: 8.738 MB / 394.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.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0008028/0.4784, allocations: 373.9 kB / 0.567 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.4785, allocations: 43.94 kB / 0.567 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4785, allocations: 0 / 0.567 GB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.4786, allocations: 16 kB / 0.567 GB, free: 8.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.4788, allocations: 27.97 kB / 0.567 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.4792, allocations: 202.6 kB / 0.5672 GB, free: 8.133 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.4794, allocations: 0.7273 MB / 0.5679 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.057e-05/0.4795, allocations: 24.42 kB / 0.568 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.4795, allocations: 19.42 kB / 0.568 GB, free: 7.34 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4795, allocations: 3.938 kB / 0.568 GB, free: 7.336 MB / 394.7 MB Notification: Performance of Templates: time 0.003822/0.4834, allocations: 1.612 MB / 0.5696 GB, free: 5.73 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches