Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 109.9 kB / 18.45 MB, free: 4.641 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.001688/0.001688, allocations: 190 kB / 19.39 MB, free: 3.711 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.352/1.352, 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.2083/0.2083, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.391, allocations: 60.83 MB / 0.5197 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003659/0.3947, allocations: 1.699 MB / 0.5213 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3962, allocations: 0.8802 MB / 0.5222 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.3963, allocations: 1.375 kB / 0.5222 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.3967, allocations: 42.38 kB / 0.5222 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.397, allocations: 61.97 kB / 0.5223 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.3973, allocations: 109.3 kB / 0.5224 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.3975, allocations: 101.3 kB / 0.5225 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3976, allocations: 7.719 kB / 0.5225 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-05/0.3977, allocations: 41.73 kB / 0.5225 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.3978, allocations: 33.36 kB / 0.5226 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.3978, allocations: 4.344 kB / 0.5226 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3979, allocations: 46.44 kB / 0.5226 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.398, allocations: 21 kB / 0.5226 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.398, allocations: 42.47 kB / 0.5227 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.3983, allocations: 117 kB / 0.5228 GB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3983, allocations: 0.75 kB / 0.5228 GB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3983, allocations: 0 / 0.5228 GB, free: 1.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3983, allocations: 0 / 0.5228 GB, free: 1.797 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.000505/0.3988, allocations: 439.1 kB / 0.5232 GB, free: 1.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3989, allocations: 10.05 kB / 0.5232 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.3989, allocations: 13.42 kB / 0.5232 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3992, allocations: 212.4 kB / 0.5234 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3992, allocations: 2.453 kB / 0.5234 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3992, allocations: 6.562 kB / 0.5234 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3994, allocations: 54.91 kB / 0.5235 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3994, allocations: 3.938 kB / 0.5235 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.3994, allocations: 0 / 0.5235 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3994, allocations: 1.188 kB / 0.5235 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.591e-05/0.3995, allocations: 22.66 kB / 0.5235 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.3999, allocations: 297.1 kB / 0.5238 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.4, allocations: 57.22 kB / 0.5239 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.4001, allocations: 20.19 kB / 0.5239 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4001, allocations: 2 kB / 0.5239 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.4003, allocations: 76.62 kB / 0.5239 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.4003, allocations: 1.094 kB / 0.5239 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000532/0.4008, allocations: 185.3 kB / 0.5241 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.4008, allocations: 57.45 kB / 0.5242 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.4011, allocations: 218 kB / 0.5244 GB, free: 384 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.4011, allocations: 27.11 kB / 0.5244 GB, free: 352 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.801e-05/0.4011, allocations: 110 kB / 0.5245 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.4012, allocations: 21.41 kB / 0.5245 GB, free: 232 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.4012, allocations: 26.53 kB / 0.5246 GB, free: 208 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4013, allocations: 326.2 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.498e-05/0.4014, allocations: 22.45 kB / 0.5249 GB, free: 15.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.029e-05/0.4015, allocations: 34.88 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.4016, allocations: 58.12 kB / 0.525 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4016, allocations: 5.125 kB / 0.525 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002033/0.4018, allocations: 105.3 kB / 0.5251 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4018, allocations: 5.875 kB / 0.5251 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4018, allocations: 0 / 0.5251 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4019, allocations: 1.766 kB / 0.5251 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.402, allocations: 23.95 kB / 0.5251 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.402, allocations: 1.062 kB / 0.5251 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.402, allocations: 2.328 kB / 0.5251 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.4021, allocations: 12.64 kB / 0.5251 GB, free: 15.73 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.0001064/0.4022, allocations: 133.6 kB / 0.5253 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.4022, allocations: 13.62 kB / 0.5253 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.4023, allocations: 22.72 kB / 0.5253 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4023, allocations: 0.75 kB / 0.5253 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4023, allocations: 0 / 0.5253 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.85e-05/0.4023, allocations: 85.11 kB / 0.5254 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.4024, allocations: 6.047 kB / 0.5254 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.4024, allocations: 1.984 kB / 0.5254 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.4025, allocations: 14.36 kB / 0.5254 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002248/0.4027, allocations: 173.2 kB / 0.5256 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002813/0.403, allocations: 280.5 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.015e-05/0.4031, allocations: 26.66 kB / 0.5259 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.4032, allocations: 175.4 kB / 0.526 GB, free: 14.99 MB / 398.1 MB Notification: Performance of Backend: time 2.826e-06/0.4033, allocations: 0 / 0.526 GB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.4047, allocations: 0.4957 MB / 0.5265 GB, free: 14.78 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007323/0.4054, allocations: 0.6873 MB / 0.5272 GB, free: 14.14 MB / 398.1 MB Notification: Performance of Templates: time 0.005004/0.4104, allocations: 1.775 MB / 0.5289 GB, free: 13.55 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches