Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001108/0.001108, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2041/0.2041, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 64.03 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3775, allocations: 60.81 MB / 0.519 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003146/0.3807, allocations: 1.896 MB / 0.5208 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.3822, allocations: 0.9846 MB / 0.5218 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.3823, allocations: 6.219 kB / 0.5218 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.3829, allocations: 254.4 kB / 0.5221 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.3833, allocations: 180 kB / 0.5222 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.3838, allocations: 184.1 kB / 0.5224 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.3841, allocations: 255.2 kB / 0.5226 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3842, allocations: 30.95 kB / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.3844, allocations: 125.6 kB / 0.5228 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.3847, allocations: 181.8 kB / 0.523 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.3847, allocations: 12.88 kB / 0.523 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3848, allocations: 62.86 kB / 0.523 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.691e-05/0.3849, allocations: 62.41 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.702e-05/0.385, allocations: 99.34 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.3854, allocations: 244.2 kB / 0.5234 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3854, allocations: 0.6562 kB / 0.5234 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3854, allocations: 0 / 0.5234 GB, free: 1.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3854, allocations: 2.219 kB / 0.5234 GB, free: 1.035 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007947/0.3862, allocations: 0.572 MB / 0.524 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3863, allocations: 13.03 kB / 0.524 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.3864, allocations: 31.09 kB / 0.524 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.3867, allocations: 294 kB / 0.5243 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3868, allocations: 12.61 kB / 0.5243 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.3868, allocations: 10.45 kB / 0.5243 GB, free: 228 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.3871, allocations: 105.9 kB / 0.5244 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3871, allocations: 5.031 kB / 0.5244 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3872, allocations: 6.188 kB / 0.5244 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3872, allocations: 5.359 kB / 0.5245 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3873, allocations: 50.16 kB / 0.5245 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.3879, allocations: 478.8 kB / 0.525 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.3884, allocations: 125.5 kB / 0.5251 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3885, allocations: 49.56 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.3885, allocations: 3.109 kB / 0.5251 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.3887, allocations: 115.1 kB / 0.5252 GB, free: 15.53 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.3888, allocations: 0 / 0.5252 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001332/0.3901, allocations: 0.51 MB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.3902, allocations: 83.05 kB / 0.5258 GB, free: 15.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.3907, allocations: 485.5 kB / 0.5263 GB, free: 14.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.3907, allocations: 33.11 kB / 0.5263 GB, free: 14.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.3908, allocations: 162.9 kB / 0.5265 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.905e-05/0.3909, allocations: 77.03 kB / 0.5265 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.391, allocations: 42.2 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3911, allocations: 348.4 kB / 0.5269 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3913, allocations: 58.22 kB / 0.527 GB, free: 14.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.3914, allocations: 95.02 kB / 0.5271 GB, free: 14.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.3917, allocations: 161.4 kB / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3917, allocations: 0 / 0.5272 GB, free: 14.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004232/0.3921, allocations: 239.5 kB / 0.5274 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3921, allocations: 11.77 kB / 0.5275 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3921, allocations: 1.062 kB / 0.5275 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3922, allocations: 6.344 kB / 0.5275 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3923, allocations: 42.7 kB / 0.5275 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3923, allocations: 1.281 kB / 0.5275 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.3924, allocations: 8.969 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.3924, allocations: 10.3 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000157/0.3926, allocations: 178 kB / 0.5277 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.3927, allocations: 37.83 kB / 0.5277 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.936e-05/0.3927, allocations: 41.08 kB / 0.5278 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3928, allocations: 7.031 kB / 0.5278 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3928, allocations: 0 / 0.5278 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3928, allocations: 5.078 kB / 0.5278 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009151/0.3937, allocations: 0.7333 MB / 0.5285 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3937, allocations: 1.469 kB / 0.5285 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/0.3938, allocations: 35.86 kB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3938, allocations: 2.625 kB / 0.5285 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.3938, allocations: 12.45 kB / 0.5285 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3939, allocations: 2.062 kB / 0.5285 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.3939, allocations: 9.297 kB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.3943, allocations: 420.8 kB / 0.529 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.3944, allocations: 106 kB / 0.5291 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.3945, allocations: 7.406 kB / 0.5291 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.3946, allocations: 8.812 kB / 0.5291 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.3947, allocations: 21.22 kB / 0.5291 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.3947, allocations: 16.25 kB / 0.5291 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004784/0.3952, allocations: 359.4 kB / 0.5294 GB, free: 12.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3952, allocations: 0 / 0.5294 GB, free: 12.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.3956, allocations: 48.22 kB / 0.5295 GB, free: 12.49 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00153/0.3972, allocations: 0.5205 MB / 0.53 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004005/0.3976, allocations: 165.1 kB / 0.5302 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3976, allocations: 4.125 kB / 0.5302 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.3978, allocations: 82.91 kB / 0.5302 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.3984, allocations: 63.78 kB / 0.5303 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.3994, allocations: 0.5758 MB / 0.5309 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.3999, allocations: 0.7918 MB / 0.5316 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.4, allocations: 39.12 kB / 0.5317 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.4001, allocations: 38.89 kB / 0.5317 GB, free: 10.93 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4001, allocations: 4 kB / 0.5317 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Templates: time 0.007362/0.4075, allocations: 3.148 MB / 0.5348 GB, free: 9.367 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches