Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 113.9 kB / 18.46 MB, free: 4.594 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.002035/0.002035, allocations: 185.9 kB / 19.39 MB, free: 3.672 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.457/1.457, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2206/0.2206, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3896, allocations: 60.82 MB / 0.5197 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00279/0.3924, allocations: 1.748 MB / 0.5214 GB, free: 2.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3937, allocations: 0.8781 MB / 0.5222 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.3937, allocations: 0.9688 kB / 0.5222 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.394, allocations: 100.7 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.3942, allocations: 101.5 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3945, allocations: 115.3 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3947, allocations: 124 kB / 0.5227 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.386e-05/0.3948, allocations: 20.44 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.3949, allocations: 57.59 kB / 0.5227 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.395, allocations: 74.86 kB / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.395, allocations: 5.75 kB / 0.5228 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3951, allocations: 63.73 kB / 0.5229 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.3952, allocations: 33.62 kB / 0.5229 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.3952, allocations: 43.95 kB / 0.5229 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3955, allocations: 164.2 kB / 0.5231 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3955, allocations: 0 / 0.5231 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3955, allocations: 0 / 0.5231 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3955, allocations: 3.938 kB / 0.5231 GB, free: 1.438 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004036/0.3959, allocations: 458.7 kB / 0.5235 GB, free: 1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.396, allocations: 9.625 kB / 0.5236 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.396, allocations: 14.72 kB / 0.5236 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.3962, allocations: 223.1 kB / 0.5238 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.3963, allocations: 3.188 kB / 0.5238 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3963, allocations: 11.55 kB / 0.5238 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3964, allocations: 78.28 kB / 0.5239 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3964, allocations: 0 / 0.5239 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3965, allocations: 6.203 kB / 0.5239 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-06/0.3965, allocations: 5.312 kB / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.901e-05/0.3966, allocations: 35.86 kB / 0.5239 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.3969, allocations: 328.3 kB / 0.5242 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.3971, allocations: 74.66 kB / 0.5243 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.3972, allocations: 28.16 kB / 0.5243 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3972, allocations: 6.375 kB / 0.5243 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.3974, allocations: 83.86 kB / 0.5244 GB, free: 272 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.3974, allocations: 1.062 kB / 0.5244 GB, free: 272 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.000761/0.3981, allocations: 300.6 kB / 0.5247 GB, free: 136 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.644e-05/0.3982, allocations: 53.38 kB / 0.5248 GB, free: 72 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.3984, allocations: 244.7 kB / 0.525 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3984, allocations: 35.7 kB / 0.525 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.3985, allocations: 115 kB / 0.5251 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.3986, allocations: 51.48 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3986, allocations: 30.22 kB / 0.5252 GB, free: 15.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3987, allocations: 330.2 kB / 0.5255 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.3988, allocations: 39.23 kB / 0.5256 GB, free: 15.39 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.864e-05/0.3989, allocations: 59.23 kB / 0.5256 GB, free: 15.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3991, allocations: 107.7 kB / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3991, allocations: 0 / 0.5257 GB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002573/0.3994, allocations: 162.2 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3994, allocations: 4.594 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3994, allocations: 5.359 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3994, allocations: 1.484 kB / 0.5259 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3995, allocations: 37.69 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3996, allocations: 3.938 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.3996, allocations: 7.75 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3996, allocations: 4.062 kB / 0.5259 GB, free: 15.19 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 (16): * Single equations (assignments): 16 * 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.0001112/0.3997, allocations: 143.2 kB / 0.5261 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.3998, allocations: 15.12 kB / 0.5261 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.3998, allocations: 24.53 kB / 0.5261 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3998, allocations: 5.438 kB / 0.5261 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3999, allocations: 4.562 kB / 0.5261 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.3999, allocations: 89.66 kB / 0.5262 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.3999, allocations: 2.422 kB / 0.5262 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.94e-05/0.4, allocations: 12.62 kB / 0.5262 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.4, allocations: 8.016 kB / 0.5262 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003035/0.4003, allocations: 234.2 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003353/0.4007, allocations: 328.1 kB / 0.5268 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.48e-05/0.4008, allocations: 50.25 kB / 0.5268 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.401, allocations: 189.3 kB / 0.527 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Backend: time 2.91e-07/0.401, allocations: 0 / 0.527 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.4025, allocations: 0.5611 MB / 0.5275 GB, free: 14.16 MB / 398.1 MB Notification: Performance of SimCode: time 0.000684/0.4032, allocations: 0.7325 MB / 0.5283 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.005288/0.4085, allocations: 2.282 MB / 0.5305 GB, free: 12.53 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches