Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 111.6 kB / 18.45 MB, free: 4.617 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.001384/0.001385, allocations: 190 kB / 19.39 MB, free: 3.688 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.381/1.381, allocations: 222.9 MB / 243.1 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.2172/0.2172, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3819, allocations: 60.82 MB / 0.5197 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003967/0.3859, allocations: 1.714 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.388, allocations: 0.8736 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3881, allocations: 1.094 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003995/0.3885, allocations: 51.14 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.3889, allocations: 63.8 kB / 0.5223 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.3893, allocations: 106.2 kB / 0.5224 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.3895, allocations: 95.59 kB / 0.5225 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3897, allocations: 15.72 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.3898, allocations: 45.77 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.3899, allocations: 30.91 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.39, allocations: 3.375 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3901, allocations: 41.89 kB / 0.5226 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.986e-05/0.3902, allocations: 28 kB / 0.5226 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.66e-05/0.3903, allocations: 42.7 kB / 0.5227 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.3906, allocations: 126 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3907, allocations: 1.094 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3907, allocations: 0 / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3907, allocations: 0 / 0.5228 GB, free: 1.535 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006002/0.3913, allocations: 450.7 kB / 0.5232 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3913, allocations: 10.48 kB / 0.5232 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.3914, allocations: 18.28 kB / 0.5233 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.3918, allocations: 215.6 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3918, allocations: 0.9375 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.3918, allocations: 7.234 kB / 0.5235 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.392, allocations: 53.75 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3921, allocations: 1.812 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3921, allocations: 4 kB / 0.5235 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3921, allocations: 1.25 kB / 0.5235 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.3922, allocations: 25.5 kB / 0.5236 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.3927, allocations: 293.4 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.3929, allocations: 57.31 kB / 0.5239 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.393, allocations: 26.95 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.3931, allocations: 1.688 kB / 0.5239 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.3932, allocations: 74.33 kB / 0.524 GB, free: 412 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.3933, allocations: 0 / 0.524 GB, free: 412 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007448/0.394, allocations: 183.6 kB / 0.5242 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.3941, allocations: 60.59 kB / 0.5242 GB, free: 244 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.3944, allocations: 262.5 kB / 0.5245 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3944, allocations: 26.86 kB / 0.5245 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.3946, allocations: 115.1 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.3946, allocations: 30.61 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.987e-05/0.3947, allocations: 21.7 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3949, allocations: 334 kB / 0.525 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.395, allocations: 21.27 kB / 0.525 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3951, allocations: 38.48 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3953, allocations: 57.06 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3953, allocations: 0.8438 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002935/0.3956, allocations: 102.1 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3956, allocations: 9.625 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3957, allocations: 1.781 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3957, allocations: 4.953 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.3958, allocations: 15.41 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.3959, allocations: 5.812 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.3959, allocations: 1.766 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.396, allocations: 7.312 kB / 0.5252 GB, free: 15.44 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 (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 0.0001626/0.3961, allocations: 132.8 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.3962, allocations: 16.41 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.819e-05/0.3963, allocations: 23.19 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3963, allocations: 0 / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.3963, allocations: 0.7031 kB / 0.5254 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.3964, allocations: 93.7 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.3964, allocations: 5.984 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.3965, allocations: 2 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.3966, allocations: 13.92 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003168/0.3969, allocations: 170.6 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003853/0.3973, allocations: 280.6 kB / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001033/0.3974, allocations: 38.94 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.3977, allocations: 203.6 kB / 0.5262 GB, free: 14.68 MB / 398.1 MB Notification: Performance of Backend: time 5.11e-07/0.3977, allocations: 0 / 0.5262 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.3998, allocations: 0.4989 MB / 0.5267 GB, free: 14.47 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009932/0.4008, allocations: 0.7061 MB / 0.5273 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.007744/0.4085, allocations: 1.795 MB / 0.5291 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches