Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001148, allocations: 114.7 kB / 17.74 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 187.1 kB / 18.66 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 242.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2185/0.2185, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.395, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003338/0.3984, allocations: 1.724 MB / 0.5206 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3997, allocations: 0.8764 MB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.3998, allocations: 9.094 kB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.4002, allocations: 101.2 kB / 0.5216 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.4004, allocations: 86.27 kB / 0.5217 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.4007, allocations: 113.7 kB / 0.5218 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.4008, allocations: 120.5 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.4009, allocations: 17.23 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.401, allocations: 57.25 kB / 0.522 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.4011, allocations: 60 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.4012, allocations: 4.438 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.4013, allocations: 62.62 kB / 0.5221 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.4014, allocations: 22.72 kB / 0.5221 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.4014, allocations: 46.17 kB / 0.5221 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4016, allocations: 146.8 kB / 0.5223 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4016, allocations: 0 / 0.5223 GB, free: 1.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4016, allocations: 0.7969 kB / 0.5223 GB, free: 1.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.4017, allocations: 0.9375 kB / 0.5223 GB, free: 1.477 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004865/0.4021, allocations: 433.8 kB / 0.5227 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4022, allocations: 9.844 kB / 0.5227 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.4022, allocations: 15.09 kB / 0.5227 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.4025, allocations: 219.3 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.4025, allocations: 5.781 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.4026, allocations: 15.73 kB / 0.523 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.4027, allocations: 57.22 kB / 0.523 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.4027, allocations: 9.25 kB / 0.523 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4028, allocations: 0 / 0.523 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4028, allocations: 2.203 kB / 0.523 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.4029, allocations: 20.31 kB / 0.523 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.4032, allocations: 306.8 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.4035, allocations: 68.3 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.4036, allocations: 21.89 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4036, allocations: 0 / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.4037, allocations: 73.23 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.4038, allocations: 0 / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007735/0.4045, allocations: 245.7 kB / 0.5237 GB, free: 240 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.4046, allocations: 61.11 kB / 0.5238 GB, free: 168 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.4048, allocations: 238.6 kB / 0.524 GB, free: 28 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.4049, allocations: 26.86 kB / 0.524 GB, free: 16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.4049, allocations: 115.8 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.405, allocations: 31.78 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.405, allocations: 27.73 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.4052, allocations: 332.7 kB / 0.5245 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.4053, allocations: 27.39 kB / 0.5245 GB, free: 15.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.4054, allocations: 44.45 kB / 0.5246 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4055, allocations: 78.97 kB / 0.5247 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4056, allocations: 3.938 kB / 0.5247 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002193/0.4058, allocations: 126.6 kB / 0.5248 GB, free: 15.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4058, allocations: 9.5 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4058, allocations: 0 / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.4058, allocations: 1.625 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.4059, allocations: 30.42 kB / 0.5248 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.4059, allocations: 3.938 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.406, allocations: 3.828 kB / 0.5248 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.406, allocations: 3.391 kB / 0.5248 GB, free: 15.35 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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 0.0001074/0.4061, allocations: 134.5 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.4061, allocations: 19.39 kB / 0.525 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.4062, allocations: 20.23 kB / 0.525 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4062, allocations: 1.375 kB / 0.525 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4062, allocations: 7.875 kB / 0.525 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4062, allocations: 0.6562 kB / 0.525 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.4068, allocations: 458.5 kB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4068, allocations: 1.062 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.4069, allocations: 14.14 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4069, allocations: 5.406 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.4069, allocations: 4.141 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4069, allocations: 5.25 kB / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4069, allocations: 0 / 0.5255 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.4072, allocations: 233.5 kB / 0.5257 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.4073, allocations: 97.64 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.4073, allocations: 2.828 kB / 0.5258 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.4074, allocations: 6.969 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.4074, allocations: 16.58 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.4074, allocations: 4.953 kB / 0.5258 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.4076, allocations: 184.5 kB / 0.526 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4076, allocations: 5 kB / 0.526 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4079, allocations: 29.81 kB / 0.526 GB, free: 14.38 MB / 398.1 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 (11): * Single equations (assignments): 9 * 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.001121/0.409, allocations: 0.5004 MB / 0.5265 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002624/0.4093, allocations: 85.11 kB / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4093, allocations: 3.938 kB / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.4094, allocations: 43.22 kB / 0.5266 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.4098, allocations: 31.17 kB / 0.5267 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.4104, allocations: 302.1 kB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.4108, allocations: 0.717 MB / 0.5277 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.369e-05/0.4109, allocations: 18.88 kB / 0.5277 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.411, allocations: 26.61 kB / 0.5277 GB, free: 13.17 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.411, allocations: 0 / 0.5277 GB, free: 13.17 MB / 398.1 MB Notification: Performance of Templates: time 0.005499/0.4165, allocations: 1.967 MB / 0.5296 GB, free: 12.38 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches