Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 112.6 kB / 18.45 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.001028/0.001028, allocations: 187.3 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.368/1.368, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2106/0.2106, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.89 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3907, allocations: 60.82 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003018/0.3937, allocations: 1.707 MB / 0.5213 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3957, allocations: 1.489 MB / 0.5228 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.3958, allocations: 0.9062 kB / 0.5228 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.3961, allocations: 40.66 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.3963, allocations: 56.3 kB / 0.5229 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.3967, allocations: 105.3 kB / 0.523 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.3969, allocations: 109.7 kB / 0.5231 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.397, allocations: 11.67 kB / 0.5231 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.088e-05/0.3971, allocations: 50.16 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.3972, allocations: 42.17 kB / 0.5232 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3972, allocations: 5.219 kB / 0.5232 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3974, allocations: 60.08 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.3974, allocations: 21.25 kB / 0.5233 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.3975, allocations: 29.05 kB / 0.5233 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.3978, allocations: 136.5 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3978, allocations: 0 / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3978, allocations: 5.406 kB / 0.5234 GB, free: 1.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3978, allocations: 0 / 0.5234 GB, free: 1.074 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000461/0.3982, allocations: 417.6 kB / 0.5238 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3983, allocations: 10.17 kB / 0.5238 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.3983, allocations: 8.672 kB / 0.5238 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.3986, allocations: 214.6 kB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3986, allocations: 5.094 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3986, allocations: 3.906 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3988, allocations: 83.05 kB / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3988, allocations: 0 / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3989, allocations: 1.688 kB / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3989, allocations: 1.125 kB / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.358e-05/0.399, allocations: 29.39 kB / 0.5242 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.3993, allocations: 299.4 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3995, allocations: 76.48 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.3996, allocations: 25.69 kB / 0.5245 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3996, allocations: 7.234 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.3998, allocations: 76.02 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.3998, allocations: 1.156 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006196/0.4004, allocations: 199.8 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.4005, allocations: 79.77 kB / 0.5249 GB, free: 15.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.4007, allocations: 157.8 kB / 0.525 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.4007, allocations: 31.55 kB / 0.5251 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.4008, allocations: 93.78 kB / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.4008, allocations: 34.66 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.4008, allocations: 28.38 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.401, allocations: 320.2 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.4011, allocations: 29.59 kB / 0.5256 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.319e-05/0.4012, allocations: 48.52 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4013, allocations: 66.42 kB / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4013, allocations: 0 / 0.5257 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002071/0.4015, allocations: 122 kB / 0.5258 GB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4016, allocations: 9.875 kB / 0.5258 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.4016, allocations: 4.062 kB / 0.5258 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4016, allocations: 5.969 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.4017, allocations: 16.36 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.4017, allocations: 0.9688 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.4018, allocations: 8.422 kB / 0.5258 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4018, allocations: 3.375 kB / 0.5258 GB, free: 14.96 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 (11): * Single equations (assignments): 11 * 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.0001073/0.4019, allocations: 126.1 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.4019, allocations: 9.547 kB / 0.526 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/0.402, allocations: 18.28 kB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.402, allocations: 5.859 kB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.402, allocations: 3.938 kB / 0.526 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.4021, allocations: 88.62 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.4021, allocations: 9.438 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.4021, allocations: 3.297 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.4022, allocations: 5.953 kB / 0.5261 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002568/0.4024, allocations: 183.5 kB / 0.5263 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002874/0.4027, allocations: 292 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.806e-05/0.4028, allocations: 32 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.4029, allocations: 122.2 kB / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.4029, allocations: 0 / 0.5267 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.4045, allocations: 0.5106 MB / 0.5272 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 0.00062/0.4051, allocations: 0.6608 MB / 0.5278 GB, free: 13.39 MB / 398.1 MB Notification: Performance of Templates: time 0.005154/0.4103, allocations: 2.097 MB / 0.5299 GB, free: 12.63 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches