Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,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.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.00124, allocations: 110.6 kB / 18.45 MB, free: 4.617 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.001268/0.001268, allocations: 187.1 kB / 19.39 MB, free: 3.695 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.372/1.372, 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.2121/0.2121, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 63.91 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3768, allocations: 60.82 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002758/0.3796, allocations: 1.714 MB / 0.5213 GB, free: 2.445 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.3808, allocations: 0.8809 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3809, allocations: 1 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.3811, allocations: 50.59 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.3813, allocations: 60.41 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3816, allocations: 113.5 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.3818, allocations: 95.91 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.762e-05/0.3819, allocations: 12.92 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.072e-05/0.382, allocations: 40.8 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.895e-05/0.382, allocations: 30.31 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.3821, allocations: 3.688 kB / 0.5226 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.3822, allocations: 42.98 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.3822, allocations: 27.08 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.3823, allocations: 47.34 kB / 0.5227 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.3825, allocations: 125.1 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3825, allocations: 4 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3825, allocations: 0 / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3825, allocations: 1.406 kB / 0.5228 GB, free: 1.531 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.0004475/0.383, allocations: 436.6 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.383, allocations: 10.31 kB / 0.5232 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.3831, allocations: 14.12 kB / 0.5233 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.3833, allocations: 222.6 kB / 0.5235 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3833, allocations: 6.625 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3833, allocations: 6.812 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3835, allocations: 53.34 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3835, allocations: 1.25 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.3835, allocations: 4.75 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3835, allocations: 1.312 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.3836, allocations: 18.64 kB / 0.5236 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.3839, allocations: 292.5 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3841, allocations: 56.3 kB / 0.5239 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.3841, allocations: 24.77 kB / 0.5239 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3841, allocations: 5.094 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/0.3843, allocations: 61.2 kB / 0.524 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3843, allocations: 0 / 0.524 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004989/0.3848, allocations: 183.5 kB / 0.5242 GB, free: 340 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.3848, allocations: 57.19 kB / 0.5242 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.385, allocations: 261.2 kB / 0.5245 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3851, allocations: 28.52 kB / 0.5245 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.3851, allocations: 119 kB / 0.5246 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3852, allocations: 29.5 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.3852, allocations: 25.78 kB / 0.5246 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3853, allocations: 332.5 kB / 0.525 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.3854, allocations: 22.09 kB / 0.525 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.3855, allocations: 38.39 kB / 0.525 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3856, allocations: 58.11 kB / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3856, allocations: 0 / 0.5251 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.3858, allocations: 102.6 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3858, allocations: 6.781 kB / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3858, allocations: 0 / 0.5252 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3858, allocations: 5.484 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.3859, allocations: 15.69 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.386, allocations: 5.438 kB / 0.5252 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.386, allocations: 11.47 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.386, allocations: 10.38 kB / 0.5252 GB, free: 15.45 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.0001063/0.3861, allocations: 133.2 kB / 0.5254 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3862, allocations: 15.19 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.3862, allocations: 19.05 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3862, allocations: 1.922 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3862, allocations: 0 / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3863, allocations: 90.06 kB / 0.5255 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3863, allocations: 5.75 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.3864, allocations: 5.984 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.3864, allocations: 5.859 kB / 0.5255 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002258/0.3866, allocations: 177.5 kB / 0.5257 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002459/0.3869, allocations: 273.2 kB / 0.5259 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.592e-05/0.387, allocations: 34.34 kB / 0.526 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3872, allocations: 199.6 kB / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of Backend: time 3.3e-07/0.3872, allocations: 0 / 0.5261 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.3885, allocations: 0.511 MB / 0.5266 GB, free: 14.49 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006445/0.3892, allocations: 0.7119 MB / 0.5273 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Templates: time 0.004383/0.3936, allocations: 1.788 MB / 0.5291 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches