Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 109.4 kB / 18.45 MB, free: 4.609 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.001463/0.001463, allocations: 190.2 kB / 19.38 MB, free: 3.684 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.366/1.366, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2237/0.2237, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 67.89 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3693, allocations: 60.82 MB / 0.5197 GB, free: 3.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003418/0.3727, allocations: 1.903 MB / 0.5215 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3743, allocations: 0.9867 MB / 0.5225 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.3744, allocations: 6.531 kB / 0.5225 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.3749, allocations: 150.7 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.3752, allocations: 140.6 kB / 0.5228 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.3757, allocations: 183.7 kB / 0.5229 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.3761, allocations: 228.4 kB / 0.5232 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.3762, allocations: 30.38 kB / 0.5232 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.3764, allocations: 107.1 kB / 0.5233 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3766, allocations: 131.2 kB / 0.5234 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.3766, allocations: 7 kB / 0.5234 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.3768, allocations: 60.22 kB / 0.5235 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.3768, allocations: 49.91 kB / 0.5235 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.758e-05/0.3769, allocations: 80.59 kB / 0.5236 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.3773, allocations: 216.6 kB / 0.5238 GB, free: 1.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3773, allocations: 4 kB / 0.5238 GB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3773, allocations: 0 / 0.5238 GB, free: 1.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3773, allocations: 1.219 kB / 0.5238 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006396/0.3779, allocations: 0.5205 MB / 0.5243 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.378, allocations: 9.25 kB / 0.5243 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.378, allocations: 29.03 kB / 0.5244 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.3784, allocations: 264.1 kB / 0.5246 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.3784, allocations: 12.27 kB / 0.5246 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.3784, allocations: 12.27 kB / 0.5246 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.3787, allocations: 112.1 kB / 0.5247 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3787, allocations: 3.938 kB / 0.5247 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3787, allocations: 6.625 kB / 0.5247 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3787, allocations: 1.562 kB / 0.5248 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.3789, allocations: 45.52 kB / 0.5248 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.3794, allocations: 463.4 kB / 0.5252 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.3798, allocations: 117.6 kB / 0.5253 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.3799, allocations: 49.69 kB / 0.5254 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3799, allocations: 7.328 kB / 0.5254 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.3802, allocations: 115.7 kB / 0.5255 GB, free: 15.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.3802, allocations: 0 / 0.5255 GB, free: 15.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00128/0.3815, allocations: 497.9 kB / 0.526 GB, free: 15.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.3816, allocations: 80.19 kB / 0.5261 GB, free: 15.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.382, allocations: 353.2 kB / 0.5264 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.382, allocations: 33.7 kB / 0.5264 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.3821, allocations: 142.6 kB / 0.5266 GB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.3822, allocations: 68.14 kB / 0.5266 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.3823, allocations: 41.66 kB / 0.5267 GB, free: 14.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3824, allocations: 344.3 kB / 0.527 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3826, allocations: 55.25 kB / 0.5271 GB, free: 14.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3827, allocations: 97.16 kB / 0.5271 GB, free: 14.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.383, allocations: 163.5 kB / 0.5273 GB, free: 14.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.383, allocations: 4 kB / 0.5273 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004759/0.3835, allocations: 231 kB / 0.5275 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.3835, allocations: 9.219 kB / 0.5275 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.3836, allocations: 5.125 kB / 0.5275 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3836, allocations: 1.781 kB / 0.5275 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.3838, allocations: 40.61 kB / 0.5276 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.3838, allocations: 2.719 kB / 0.5276 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.608e-05/0.3839, allocations: 13.89 kB / 0.5276 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3839, allocations: 15.39 kB / 0.5276 GB, free: 14.27 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.0001869/0.3841, allocations: 147 kB / 0.5278 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.3841, allocations: 33.97 kB / 0.5278 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.458e-05/0.3842, allocations: 36.03 kB / 0.5278 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3843, allocations: 2.75 kB / 0.5278 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.3843, allocations: 0 / 0.5278 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3843, allocations: 3.016 kB / 0.5278 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3853, allocations: 0.7251 MB / 0.5285 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3853, allocations: 1.375 kB / 0.5285 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.3854, allocations: 31.31 kB / 0.5286 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3854, allocations: 2.75 kB / 0.5286 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3854, allocations: 8.109 kB / 0.5286 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.77e-06/0.3854, allocations: 2.75 kB / 0.5286 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3855, allocations: 9.438 kB / 0.5286 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.3859, allocations: 424.2 kB / 0.529 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.386, allocations: 104.2 kB / 0.5291 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.3861, allocations: 4.344 kB / 0.5291 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3862, allocations: 17.36 kB / 0.5291 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.3863, allocations: 19.77 kB / 0.5291 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.3863, allocations: 8.938 kB / 0.5291 GB, free: 13.04 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002568/0.3866, allocations: 265.5 kB / 0.5294 GB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3866, allocations: 192 / 0.5294 GB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.3869, allocations: 50.58 kB / 0.5294 GB, free: 12.88 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.001181/0.3881, allocations: 0.5174 MB / 0.5299 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3885, allocations: 162.7 kB / 0.5301 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3885, allocations: 1.281 kB / 0.5301 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3887, allocations: 82.03 kB / 0.5302 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.3892, allocations: 56.28 kB / 0.5302 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.3901, allocations: 0.5024 MB / 0.5307 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.3905, allocations: 0.7621 MB / 0.5315 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.3905, allocations: 34.27 kB / 0.5315 GB, free: 11.38 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3905, allocations: 0 / 0.5315 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Templates: time 0.006606/0.3972, allocations: 3.511 MB / 0.5349 GB, free: 9.551 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches