Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, 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.393/1.393, allocations: 222.9 MB / 241.6 MB, free: 11.01 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.001176/0.001177, allocations: 105.6 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.4235/0.4235, allocations: 44.13 MB / 386.1 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 55.92 kB / 457.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3999, allocations: 60.8 MB / 0.5064 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003126/0.403, allocations: 1.773 MB / 0.5081 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.4043, allocations: 0.867 MB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.4044, allocations: 5.281 kB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.4047, allocations: 41.22 kB / 0.509 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.4049, allocations: 56.44 kB / 0.5091 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.4052, allocations: 98.58 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.4054, allocations: 110.1 kB / 0.5093 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4055, allocations: 23.12 kB / 0.5093 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.4056, allocations: 45.06 kB / 0.5093 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.4057, allocations: 50.28 kB / 0.5094 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.4057, allocations: 2.906 kB / 0.5094 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.4059, allocations: 53.78 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.4059, allocations: 38.86 kB / 0.5095 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.406, allocations: 35.88 kB / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.4062, allocations: 132.4 kB / 0.5096 GB, free: 36.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4062, allocations: 3.938 kB / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4062, allocations: 0 / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.4063, allocations: 2.75 kB / 0.5096 GB, free: 36.16 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005657/0.4068, allocations: 430.1 kB / 0.5101 GB, free: 35.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4069, allocations: 8.5 kB / 0.5101 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.4069, allocations: 14.47 kB / 0.5101 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.4072, allocations: 227.8 kB / 0.5103 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4072, allocations: 3.75 kB / 0.5103 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.4072, allocations: 7.062 kB / 0.5103 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.4074, allocations: 68.52 kB / 0.5104 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.4074, allocations: 6.953 kB / 0.5104 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.4074, allocations: 4 kB / 0.5104 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4074, allocations: 4 kB / 0.5104 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.4075, allocations: 45.58 kB / 0.5104 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.4079, allocations: 317.7 kB / 0.5107 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.4082, allocations: 83.39 kB / 0.5108 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.4083, allocations: 33.91 kB / 0.5108 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.4083, allocations: 12.17 kB / 0.5109 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.4085, allocations: 82.98 kB / 0.5109 GB, free: 35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4085, allocations: 0 / 0.5109 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.000804/0.4093, allocations: 291.2 kB / 0.5112 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.4093, allocations: 62.12 kB / 0.5113 GB, free: 34.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.4095, allocations: 187.3 kB / 0.5115 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.4095, allocations: 36.48 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.4096, allocations: 98.73 kB / 0.5116 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.4096, allocations: 39.52 kB / 0.5116 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.4097, allocations: 29.88 kB / 0.5116 GB, free: 34.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.978e-05/0.4097, allocations: 327.9 kB / 0.512 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.4098, allocations: 36.09 kB / 0.512 GB, free: 34.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.972e-05/0.4099, allocations: 56.66 kB / 0.512 GB, free: 34.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.4101, allocations: 101.1 kB / 0.5121 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4101, allocations: 0 / 0.5121 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002292/0.4103, allocations: 149.8 kB / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4104, allocations: 10.44 kB / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4104, allocations: 2.812 kB / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4104, allocations: 0 / 0.5123 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.4105, allocations: 26.2 kB / 0.5123 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4105, allocations: 6.969 kB / 0.5123 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.4105, allocations: 7.031 kB / 0.5123 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4106, allocations: 6.875 kB / 0.5123 GB, free: 33.98 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 (15): * Single equations (assignments): 15 * 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.51e-05/0.4106, allocations: 128.1 kB / 0.5125 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.4107, allocations: 16.19 kB / 0.5125 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.4107, allocations: 22.09 kB / 0.5125 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4107, allocations: 6.656 kB / 0.5125 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.4108, allocations: 3.938 kB / 0.5125 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4108, allocations: 0 / 0.5125 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.4112, allocations: 494.7 kB / 0.513 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4112, allocations: 0 / 0.513 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.4113, allocations: 15.94 kB / 0.513 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4113, allocations: 0 / 0.513 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4113, allocations: 12.5 kB / 0.513 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.4113, allocations: 3.938 kB / 0.513 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4113, allocations: 0 / 0.513 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.4118, allocations: 0.8544 MB / 0.5139 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.4118, allocations: 90.7 kB / 0.5139 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4118, allocations: 3.047 kB / 0.5139 GB, free: 32.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.4119, allocations: 11 kB / 0.514 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.412, allocations: 13.02 kB / 0.514 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.412, allocations: 5.75 kB / 0.514 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.095e-05/0.4121, allocations: 145.5 kB / 0.5141 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4121, allocations: 288 / 0.5141 GB, free: 32.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.4124, allocations: 35.44 kB / 0.5141 GB, free: 32.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001081/0.4135, allocations: 0.5129 MB / 0.5146 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.4137, allocations: 102.5 kB / 0.5147 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4137, allocations: 0 / 0.5147 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.4138, allocations: 57.27 kB / 0.5148 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.4142, allocations: 23.86 kB / 0.5148 GB, free: 32.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.4147, allocations: 447 kB / 0.5152 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.4148, allocations: 0.7163 MB / 0.5159 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.061e-05/0.4149, allocations: 29.89 kB / 0.516 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.415, allocations: 21.64 kB / 0.516 GB, free: 31.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.415, allocations: 0 / 0.516 GB, free: 31.04 MB / 378.7 MB Notification: Performance of Templates: time 0.004477/0.4195, allocations: 2.098 MB / 0.518 GB, free: 30.82 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches