Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.001309, allocations: 110.5 kB / 18.45 MB, free: 4.602 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.001164/0.001164, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.38/1.38, 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.2103/0.2103, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 71.89 kB / 471.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3838, allocations: 60.82 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003303/0.3872, allocations: 2.314 MB / 0.5219 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.3893, allocations: 1.284 MB / 0.5231 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.3895, allocations: 8 kB / 0.5232 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.3901, allocations: 288.5 kB / 0.5234 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005345/0.3907, allocations: 270.2 kB / 0.5237 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009003/0.3916, allocations: 377.8 kB / 0.524 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006175/0.3922, allocations: 0.5103 MB / 0.5245 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.3924, allocations: 58.05 kB / 0.5246 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.3927, allocations: 234.4 kB / 0.5248 GB, free: 416 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.393, allocations: 259.8 kB / 0.5251 GB, free: 328 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.3931, allocations: 17.78 kB / 0.5251 GB, free: 328 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3932, allocations: 61.89 kB / 0.5251 GB, free: 312 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.3934, allocations: 112.2 kB / 0.5253 GB, free: 256 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.3936, allocations: 177.2 kB / 0.5254 GB, free: 128 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.3942, allocations: 395.2 kB / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3942, allocations: 1.406 kB / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3942, allocations: 0 / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.3942, allocations: 0 / 0.5258 GB, free: 15.96 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00123/0.3954, allocations: 0.7628 MB / 0.5265 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3955, allocations: 7.906 kB / 0.5266 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.3956, allocations: 51.53 kB / 0.5266 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/0.3963, allocations: 410.6 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.3963, allocations: 14.61 kB / 0.527 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.3964, allocations: 15.8 kB / 0.527 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.3968, allocations: 200 kB / 0.5272 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.3968, allocations: 5.062 kB / 0.5272 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.3969, allocations: 9.453 kB / 0.5272 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3969, allocations: 3.844 kB / 0.5272 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.3972, allocations: 100.2 kB / 0.5273 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.3982, allocations: 0.85 MB / 0.5282 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.3988, allocations: 292.1 kB / 0.5284 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.3991, allocations: 94.77 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.3991, allocations: 8.109 kB / 0.5285 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/0.3996, allocations: 232.2 kB / 0.5288 GB, free: 13.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.785e-06/0.3996, allocations: 0 / 0.5288 GB, free: 13.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002129/0.4017, allocations: 0.9716 MB / 0.5297 GB, free: 12.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.4018, allocations: 166.6 kB / 0.5299 GB, free: 12.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007336/0.4026, allocations: 0.6145 MB / 0.5305 GB, free: 12.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.4026, allocations: 34.89 kB / 0.5305 GB, free: 12.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.4028, allocations: 224.9 kB / 0.5307 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.4029, allocations: 125 kB / 0.5308 GB, free: 12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.403, allocations: 67.33 kB / 0.5309 GB, free: 11.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4032, allocations: 369.9 kB / 0.5312 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.4035, allocations: 102.6 kB / 0.5313 GB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003063/0.4038, allocations: 183.1 kB / 0.5315 GB, free: 11.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.4044, allocations: 299 kB / 0.5318 GB, free: 11.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4044, allocations: 4 kB / 0.5318 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007758/0.4052, allocations: 399.5 kB / 0.5322 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4052, allocations: 7.219 kB / 0.5322 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.4052, allocations: 1.188 kB / 0.5322 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.4052, allocations: 8.438 kB / 0.5322 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.4055, allocations: 93.64 kB / 0.5323 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/0.4056, allocations: 3.219 kB / 0.5323 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.4058, allocations: 29.42 kB / 0.5323 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.4058, allocations: 13.72 kB / 0.5323 GB, free: 10.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002773/0.4061, allocations: 210.8 kB / 0.5325 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.666e-05/0.4062, allocations: 58.03 kB / 0.5326 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.4064, allocations: 61.84 kB / 0.5327 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.4064, allocations: 5.516 kB / 0.5327 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4064, allocations: 9.312 kB / 0.5327 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4065, allocations: 125.5 kB / 0.5328 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.4066, allocations: 12.89 kB / 0.5328 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.4068, allocations: 18.08 kB / 0.5328 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.4069, allocations: 33.66 kB / 0.5329 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009541/0.4078, allocations: 0.7604 MB / 0.5336 GB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009899/0.4088, allocations: 0.8626 MB / 0.5344 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002571/0.4091, allocations: 134.8 kB / 0.5346 GB, free: 9.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005557/0.4097, allocations: 453.2 kB / 0.535 GB, free: 8.992 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.4097, allocations: 0 / 0.535 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.4118, allocations: 0.6711 MB / 0.5357 GB, free: 8.699 MB / 398.1 MB Notification: Performance of SimCode: time 0.001812/0.4136, allocations: 1.249 MB / 0.5369 GB, free: 7.75 MB / 398.1 MB Notification: Performance of Templates: time 0.0118/0.4255, allocations: 5.888 MB / 0.5426 GB, free: 4.238 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches