Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, 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.275/1.275, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001063/0.001063, allocations: 96.94 kB / 291.9 MB, free: 10.95 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.374/0.374, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 55.92 kB / 457.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3965, allocations: 60.81 MB / 0.5064 GB, free: 38.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003346/0.3999, allocations: 1.97 MB / 0.5083 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4012, allocations: 0.9069 MB / 0.5092 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.861e-05/0.4013, allocations: 3.062 kB / 0.5092 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.4017, allocations: 34.08 kB / 0.5092 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.4019, allocations: 54.7 kB / 0.5093 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.4022, allocations: 111 kB / 0.5094 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.4024, allocations: 132.3 kB / 0.5095 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.4026, allocations: 24.28 kB / 0.5095 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.871e-05/0.4027, allocations: 57.41 kB / 0.5096 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.228e-05/0.4028, allocations: 45.34 kB / 0.5096 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.4028, allocations: 5.5 kB / 0.5097 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4029, allocations: 46.44 kB / 0.5097 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.403, allocations: 24.38 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.4031, allocations: 46.31 kB / 0.5098 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.4033, allocations: 138.4 kB / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4033, allocations: 0 / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4033, allocations: 0 / 0.5099 GB, free: 35.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.4033, allocations: 0 / 0.5099 GB, free: 35.74 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007466/0.4041, allocations: 478.7 kB / 0.5104 GB, free: 35.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4042, allocations: 11.28 kB / 0.5104 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.4042, allocations: 18.38 kB / 0.5104 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.4045, allocations: 233.1 kB / 0.5106 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.4045, allocations: 7.156 kB / 0.5106 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.4046, allocations: 10.03 kB / 0.5106 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.4048, allocations: 112.9 kB / 0.5107 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4049, allocations: 0 / 0.5107 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4049, allocations: 3.234 kB / 0.5107 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4049, allocations: 3.031 kB / 0.5107 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.405, allocations: 44.61 kB / 0.5108 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.4056, allocations: 0.5019 MB / 0.5113 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.4059, allocations: 93.17 kB / 0.5114 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.836e-05/0.406, allocations: 43.53 kB / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.406, allocations: 2.719 kB / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.4063, allocations: 82.94 kB / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.4063, allocations: 0 / 0.5115 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003798/0.4067, allocations: 137.8 kB / 0.5116 GB, free: 34.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.4067, allocations: 62.16 kB / 0.5117 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.4069, allocations: 196.4 kB / 0.5119 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.4069, allocations: 28.94 kB / 0.5119 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.407, allocations: 109.9 kB / 0.512 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.407, allocations: 33.09 kB / 0.512 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.407, allocations: 31.12 kB / 0.512 GB, free: 33.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.4071, allocations: 328.7 kB / 0.5124 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.4072, allocations: 26.16 kB / 0.5124 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.4073, allocations: 69.72 kB / 0.5125 GB, free: 33.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.4074, allocations: 95.72 kB / 0.5125 GB, free: 33.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4075, allocations: 0 / 0.5125 GB, free: 33.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002263/0.4077, allocations: 134.8 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4077, allocations: 5.656 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4077, allocations: 2.906 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4077, allocations: 0 / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.4078, allocations: 30.84 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4079, allocations: 3.594 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.4079, allocations: 14.75 kB / 0.5127 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.4079, allocations: 9.156 kB / 0.5127 GB, free: 33.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.428e-05/0.408, allocations: 134.3 kB / 0.5129 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.4081, allocations: 13.72 kB / 0.5129 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.4081, allocations: 22.66 kB / 0.5129 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.4081, allocations: 3.938 kB / 0.5129 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4081, allocations: 4 kB / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4081, allocations: 3.938 kB / 0.5129 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.4083, allocations: 214.6 kB / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4083, allocations: 0 / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.934e-05/0.4084, allocations: 11.88 kB / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4084, allocations: 0 / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4084, allocations: 2.875 kB / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4084, allocations: 3.938 kB / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4084, allocations: 0 / 0.5131 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.4098, allocations: 1.42 MB / 0.5145 GB, free: 31.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.4099, allocations: 87.58 kB / 0.5146 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.4099, allocations: 6.562 kB / 0.5146 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.716e-05/0.4099, allocations: 10.03 kB / 0.5146 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.41, allocations: 6.078 kB / 0.5146 GB, free: 31.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.41, allocations: 2.938 kB / 0.5146 GB, free: 31.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.923e-05/0.4101, allocations: 142.2 kB / 0.5148 GB, free: 31.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4101, allocations: 3.938 kB / 0.5148 GB, free: 31.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000304/0.4104, allocations: 31.12 kB / 0.5148 GB, free: 31.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008667/0.4113, allocations: 419 kB / 0.5152 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000218/0.4115, allocations: 82.2 kB / 0.5153 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4115, allocations: 0 / 0.5153 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.4116, allocations: 37.31 kB / 0.5153 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.4119, allocations: 42.61 kB / 0.5154 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.4125, allocations: 429.4 kB / 0.5158 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.4126, allocations: 0.7162 MB / 0.5165 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.4127, allocations: 15.75 kB / 0.5165 GB, free: 30.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.4128, allocations: 19.44 kB / 0.5165 GB, free: 30.21 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.4128, allocations: 0 / 0.5165 GB, free: 30.21 MB / 378.7 MB Notification: Performance of Templates: time 0.004471/0.4172, allocations: 1.86 MB / 0.5183 GB, free: 30.01 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches