Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001021/0.001021, allocations: 106.5 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3878/0.3878, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3693, allocations: 62.02 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002846/0.3722, allocations: 1.753 MB / 0.5169 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3736, allocations: 1.005 MB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.3736, allocations: 6.469 kB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.374, allocations: 58.22 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3742, allocations: 86.53 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.3744, allocations: 93.94 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3745, allocations: 97.34 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.3746, allocations: 5.922 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.3747, allocations: 44.86 kB / 0.5182 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.3747, allocations: 36.05 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.3747, allocations: 0 / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.3748, allocations: 27.41 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.3749, allocations: 33.98 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/0.3749, allocations: 40.86 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.3751, allocations: 118.1 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.3751, allocations: 0 / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3751, allocations: 0 / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3751, allocations: 0 / 0.5185 GB, free: 35.55 MB / 378.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.0004825/0.3756, allocations: 438.5 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3756, allocations: 8.812 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.3757, allocations: 14.53 kB / 0.5189 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.3759, allocations: 222.7 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3759, allocations: 384 / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3759, allocations: 11.22 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.3761, allocations: 45.02 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3761, allocations: 0 / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3761, allocations: 0 / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3761, allocations: 3.984 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.3762, allocations: 19.42 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.3763, allocations: 201.9 kB / 0.5194 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3765, allocations: 50.02 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.3765, allocations: 23.08 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3766, allocations: 3.344 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.3767, allocations: 65.66 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.3767, allocations: 3.938 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002417/0.377, allocations: 95.58 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.377, allocations: 58.09 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3772, allocations: 272.6 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.3772, allocations: 28.73 kB / 0.52 GB, free: 34.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.3773, allocations: 115.2 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3773, allocations: 7.844 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.3773, allocations: 22.73 kB / 0.5201 GB, free: 34.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.3774, allocations: 327.8 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/0.3775, allocations: 19.36 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.692e-05/0.3775, allocations: 29.11 kB / 0.5205 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.581e-05/0.3776, allocations: 48.75 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3776, allocations: 0 / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000131/0.3777, allocations: 89.17 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3778, allocations: 2.906 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3778, allocations: 2.844 kB / 0.5206 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3778, allocations: 8 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.114e-05/0.3779, allocations: 11.55 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3779, allocations: 2.625 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.19e-05/0.3779, allocations: 6.562 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.3779, allocations: 0 / 0.5206 GB, free: 33.63 MB / 378.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 ($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 (7): * Single equations (assignments): 7 * 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.156e-05/0.378, allocations: 134.5 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.378, allocations: 13.19 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.3781, allocations: 19.77 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3781, allocations: 6.406 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3781, allocations: 0 / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3781, allocations: 3.375 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.787e-05/0.3782, allocations: 204.4 kB / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3782, allocations: 0 / 0.521 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.3782, allocations: 10.3 kB / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3782, allocations: 2.875 kB / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.3783, allocations: 0 / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3783, allocations: 0 / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3783, allocations: 0 / 0.521 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3786, allocations: 0.706 MB / 0.5217 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.3786, allocations: 87.73 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3787, allocations: 3.938 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.487e-05/0.3787, allocations: 2.875 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.3787, allocations: 6.656 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3787, allocations: 3.938 kB / 0.5218 GB, free: 32.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.3789, allocations: 209.5 kB / 0.522 GB, free: 32.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3789, allocations: 0 / 0.522 GB, free: 32.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.3792, allocations: 14.53 kB / 0.522 GB, free: 32.36 MB / 378.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0007912/0.38, allocations: 417 kB / 0.5224 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.3801, allocations: 36.73 kB / 0.5224 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3801, allocations: 3.188 kB / 0.5225 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.174e-05/0.3802, allocations: 17.95 kB / 0.5225 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.3804, allocations: 30.98 kB / 0.5225 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.3809, allocations: 400.2 kB / 0.5229 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.381, allocations: 0.7193 MB / 0.5236 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.381, allocations: 16.2 kB / 0.5236 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.3811, allocations: 15.81 kB / 0.5236 GB, free: 31.1 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3811, allocations: 0 / 0.5236 GB, free: 31.1 MB / 378.7 MB Notification: Performance of Templates: time 0.003387/0.3845, allocations: 1.506 MB / 0.5251 GB, free: 30.92 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches