Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, 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.369/1.369, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009978/0.0009976, allocations: 106.2 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3917/0.3917, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3954, allocations: 62.01 MB / 0.5152 GB, free: 37.74 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002971/0.3984, allocations: 1.797 MB / 0.5169 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3999, allocations: 1.025 MB / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.4, allocations: 0 / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.4003, allocations: 42.97 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.4005, allocations: 75.86 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.4008, allocations: 95.84 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.4009, allocations: 102.5 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.401, allocations: 10.12 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.4011, allocations: 43.44 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.4012, allocations: 30.53 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.4012, allocations: 2.906 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.4013, allocations: 47.7 kB / 0.5183 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.4014, allocations: 22.48 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.4014, allocations: 32.38 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.4016, allocations: 110.9 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4016, allocations: 0 / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4016, allocations: 3.328 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.4016, allocations: 4 kB / 0.5185 GB, free: 35.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004454/0.402, allocations: 410.2 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.4021, allocations: 11.28 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.4021, allocations: 17.72 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.4023, allocations: 217.2 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.4023, allocations: 3.344 kB / 0.5191 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.4024, allocations: 8.062 kB / 0.5191 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.4025, allocations: 58.42 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4025, allocations: 4 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4025, allocations: 3.281 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.4026, allocations: 0 / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.713e-05/0.4026, allocations: 18.89 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002917/0.4029, allocations: 295.9 kB / 0.5195 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.4031, allocations: 68.14 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.4031, allocations: 21.08 kB / 0.5196 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.4032, allocations: 0 / 0.5196 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.4034, allocations: 68.62 kB / 0.5197 GB, free: 34.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4034, allocations: 0 / 0.5197 GB, free: 34.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004935/0.4039, allocations: 167.8 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.4039, allocations: 63.34 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.4041, allocations: 190 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.4041, allocations: 28.55 kB / 0.5201 GB, free: 34.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.4041, allocations: 101.9 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.4041, allocations: 29.81 kB / 0.5202 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.4042, allocations: 19.47 kB / 0.5202 GB, free: 33.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.4043, allocations: 330.6 kB / 0.5205 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.845e-05/0.4044, allocations: 19.81 kB / 0.5206 GB, free: 33.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.4044, allocations: 39.45 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.822e-05/0.4045, allocations: 61.84 kB / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4045, allocations: 0 / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001497/0.4047, allocations: 99.5 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4047, allocations: 7.156 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4047, allocations: 0 / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.4047, allocations: 0 / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.531e-05/0.4048, allocations: 21.12 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4048, allocations: 3.281 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.288e-05/0.4049, allocations: 11.19 kB / 0.5208 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4049, allocations: 2.875 kB / 0.5208 GB, free: 33.47 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 (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 7.946e-05/0.405, allocations: 124.2 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.405, allocations: 9.625 kB / 0.5209 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.4051, allocations: 15.16 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4051, allocations: 4 kB / 0.5209 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4051, allocations: 7.938 kB / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4051, allocations: 10.08 kB / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/0.4054, allocations: 403.3 kB / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4054, allocations: 0 / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.887e-05/0.4055, allocations: 8.25 kB / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4055, allocations: 0 / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.4055, allocations: 6.531 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4055, allocations: 192 / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4055, allocations: 6.625 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.4059, allocations: 0.7907 MB / 0.5221 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.4059, allocations: 87.8 kB / 0.5222 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.4059, allocations: 6.234 kB / 0.5222 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.406, allocations: 0 / 0.5222 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.4061, allocations: 13.14 kB / 0.5222 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.4061, allocations: 6.938 kB / 0.5223 GB, free: 32.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.677e-05/0.4062, allocations: 148.6 kB / 0.5224 GB, free: 31.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4062, allocations: 0 / 0.5224 GB, free: 31.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003356/0.4065, allocations: 29.53 kB / 0.5224 GB, free: 31.98 MB / 378.7 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.0009455/0.4075, allocations: 458.3 kB / 0.5229 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001565/0.4076, allocations: 65.22 kB / 0.5229 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4076, allocations: 0 / 0.5229 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.408e-05/0.4077, allocations: 24.59 kB / 0.5229 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.408, allocations: 37.14 kB / 0.523 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.4085, allocations: 375 kB / 0.5233 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.4086, allocations: 0.7124 MB / 0.524 GB, free: 30.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.79e-05/0.4087, allocations: 13.62 kB / 0.524 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.122e-05/0.4087, allocations: 19.52 kB / 0.5241 GB, free: 30.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4087, allocations: 0 / 0.5241 GB, free: 30.68 MB / 378.7 MB Notification: Performance of Templates: time 0.003841/0.4126, allocations: 1.695 MB / 0.5257 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches