Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001284, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.001169, allocations: 94.42 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4115/0.4115, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 55.92 kB / 457.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4067, allocations: 60.8 MB / 0.5064 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.004197/0.4109, allocations: 1.718 MB / 0.5081 GB, free: 37.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.4126, allocations: 0.8512 MB / 0.5089 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.4127, allocations: 0 / 0.5089 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.4131, allocations: 56.22 kB / 0.509 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.4133, allocations: 52.38 kB / 0.509 GB, free: 36.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.4135, allocations: 97.28 kB / 0.5091 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.4137, allocations: 86.8 kB / 0.5092 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.4137, allocations: 4.031 kB / 0.5092 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.692e-05/0.4138, allocations: 46.12 kB / 0.5092 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.4139, allocations: 29.23 kB / 0.5093 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.414, allocations: 6.156 kB / 0.5093 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.4141, allocations: 21.88 kB / 0.5093 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.4141, allocations: 29.47 kB / 0.5093 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.422e-05/0.4142, allocations: 37.31 kB / 0.5094 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.4144, allocations: 121 kB / 0.5095 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4144, allocations: 3.938 kB / 0.5095 GB, free: 36.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4144, allocations: 1.156 kB / 0.5095 GB, free: 36.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.4144, allocations: 0 / 0.5095 GB, free: 36.52 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.0005243/0.415, allocations: 432.8 kB / 0.5099 GB, free: 36.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.415, allocations: 6.594 kB / 0.5099 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.4151, allocations: 10.47 kB / 0.5099 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.4153, allocations: 214.2 kB / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4153, allocations: 7.312 kB / 0.5101 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.4153, allocations: 4.125 kB / 0.5101 GB, free: 35.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.4154, allocations: 59.69 kB / 0.5102 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4155, allocations: 0 / 0.5102 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.4155, allocations: 0 / 0.5102 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4155, allocations: 0 / 0.5102 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.934e-05/0.4156, allocations: 15.89 kB / 0.5102 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.4158, allocations: 191.7 kB / 0.5104 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.4159, allocations: 53.59 kB / 0.5104 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.416, allocations: 24.58 kB / 0.5104 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.416, allocations: 2.938 kB / 0.5104 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.4162, allocations: 65.03 kB / 0.5105 GB, free: 35.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4162, allocations: 0 / 0.5105 GB, free: 35.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002603/0.4165, allocations: 96.73 kB / 0.5106 GB, free: 35.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.4165, allocations: 55.41 kB / 0.5107 GB, free: 35.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.4167, allocations: 264.4 kB / 0.5109 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.4167, allocations: 25.7 kB / 0.5109 GB, free: 35.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.4168, allocations: 109.2 kB / 0.511 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.4168, allocations: 14.12 kB / 0.511 GB, free: 35.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.4169, allocations: 19.38 kB / 0.5111 GB, free: 35.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.02e-05/0.417, allocations: 331.1 kB / 0.5114 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.64e-05/0.417, allocations: 17.81 kB / 0.5114 GB, free: 34.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.4171, allocations: 26.31 kB / 0.5114 GB, free: 34.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.4172, allocations: 44.97 kB / 0.5115 GB, free: 34.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4172, allocations: 0 / 0.5115 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001335/0.4173, allocations: 89.53 kB / 0.5116 GB, free: 34.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4173, allocations: 11.34 kB / 0.5116 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.4173, allocations: 8.094 kB / 0.5116 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.4174, allocations: 3 kB / 0.5116 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.4174, allocations: 8.25 kB / 0.5116 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4174, allocations: 4.141 kB / 0.5116 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.4175, allocations: 9.75 kB / 0.5116 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4175, allocations: 2.781 kB / 0.5116 GB, free: 34.62 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.864e-05/0.4176, allocations: 138 kB / 0.5117 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.4176, allocations: 17.41 kB / 0.5117 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.4177, allocations: 21.95 kB / 0.5118 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4177, allocations: 6.594 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4177, allocations: 0 / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4177, allocations: 0 / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4178, allocations: 196.3 kB / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4178, allocations: 0 / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.4178, allocations: 2.719 kB / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4178, allocations: 0 / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.4179, allocations: 2.844 kB / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4179, allocations: 0 / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4179, allocations: 0 / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.4183, allocations: 0.6997 MB / 0.5126 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.4183, allocations: 87.3 kB / 0.5127 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.4183, allocations: 2.688 kB / 0.5127 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.4184, allocations: 0 / 0.5127 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.4185, allocations: 6.281 kB / 0.5127 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4185, allocations: 6.75 kB / 0.5127 GB, free: 33.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4187, allocations: 205.8 kB / 0.5129 GB, free: 33.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4187, allocations: 0 / 0.5129 GB, free: 33.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003088/0.419, allocations: 16.56 kB / 0.513 GB, free: 33.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.0009268/0.4199, allocations: 420.6 kB / 0.5134 GB, free: 33.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.4201, allocations: 38.97 kB / 0.5134 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.4201, allocations: 2.719 kB / 0.5134 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.303e-05/0.4202, allocations: 21.19 kB / 0.5134 GB, free: 33.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.4205, allocations: 29.36 kB / 0.5134 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005625/0.421, allocations: 396.2 kB / 0.5138 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.4212, allocations: 0.7144 MB / 0.5145 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.4213, allocations: 6.312 kB / 0.5145 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.093e-05/0.4213, allocations: 23.44 kB / 0.5146 GB, free: 32.11 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4213, allocations: 3.938 kB / 0.5146 GB, free: 32.11 MB / 378.7 MB Notification: Performance of Templates: time 0.00392/0.4252, allocations: 1.476 MB / 0.516 GB, free: 31.93 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches