Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 106.8 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.001395/0.001395, allocations: 183 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.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.2313/0.2313, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.88 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3798, allocations: 60.83 MB / 0.5197 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002889/0.3828, allocations: 1.711 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3847, allocations: 1.48 MB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.3848, allocations: 1.312 kB / 0.5228 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.3851, allocations: 36.28 kB / 0.5228 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.3853, allocations: 55.61 kB / 0.5229 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.3856, allocations: 118.6 kB / 0.523 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.3858, allocations: 96.23 kB / 0.5231 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.386, allocations: 8.016 kB / 0.5231 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3861, allocations: 45.41 kB / 0.5231 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.3862, allocations: 39.94 kB / 0.5232 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.3863, allocations: 3.562 kB / 0.5232 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.3864, allocations: 63.8 kB / 0.5232 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.3864, allocations: 14.61 kB / 0.5232 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.3865, allocations: 38.16 kB / 0.5233 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.3867, allocations: 121.2 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3868, allocations: 0.7031 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3868, allocations: 0 / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3868, allocations: 1.125 kB / 0.5234 GB, free: 1.078 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.0004958/0.3873, allocations: 402.6 kB / 0.5238 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3873, allocations: 8.344 kB / 0.5238 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.3874, allocations: 8.906 kB / 0.5238 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.3876, allocations: 209.9 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.3877, allocations: 1.531 kB / 0.524 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.3877, allocations: 11.41 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3879, allocations: 67.14 kB / 0.5241 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3879, allocations: 3.938 kB / 0.5241 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3879, allocations: 0.5156 kB / 0.5241 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3879, allocations: 1.344 kB / 0.5241 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.388, allocations: 26.78 kB / 0.5241 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.3883, allocations: 282.9 kB / 0.5244 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3885, allocations: 56.42 kB / 0.5244 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.3885, allocations: 24.17 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3886, allocations: 9.078 kB / 0.5245 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.3888, allocations: 70.34 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3888, allocations: 0 / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005773/0.3894, allocations: 165 kB / 0.5247 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.3894, allocations: 78.3 kB / 0.5248 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3896, allocations: 156.3 kB / 0.5249 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3896, allocations: 25.7 kB / 0.5249 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.3897, allocations: 94.12 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.3897, allocations: 29.91 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/0.3897, allocations: 25.45 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3899, allocations: 325.5 kB / 0.5254 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.3899, allocations: 17.45 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.39, allocations: 43.31 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3901, allocations: 67.78 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3901, allocations: 0.7031 kB / 0.5255 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/0.3903, allocations: 104.9 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3904, allocations: 4.938 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.3904, allocations: 2.156 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3904, allocations: 1.094 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.3905, allocations: 15.12 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3905, allocations: 0.7031 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3906, allocations: 3.625 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3906, allocations: 5.844 kB / 0.5256 GB, free: 15.04 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.0001058/0.3907, allocations: 127 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.3907, allocations: 9.469 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.3908, allocations: 13.02 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3908, allocations: 0.75 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3908, allocations: 1.5 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.3908, allocations: 87.11 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.3909, allocations: 13.86 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.182e-05/0.3909, allocations: 4.328 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.391, allocations: 13.33 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002262/0.3912, allocations: 166.6 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002656/0.3915, allocations: 278.6 kB / 0.5263 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.148e-05/0.3916, allocations: 30.89 kB / 0.5263 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.3917, allocations: 117.3 kB / 0.5265 GB, free: 14.32 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.3917, allocations: 0 / 0.5265 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.3933, allocations: 0.5198 MB / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006093/0.3939, allocations: 0.6382 MB / 0.5276 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.005591/0.3995, allocations: 2.018 MB / 0.5296 GB, free: 12.79 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches