Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.00117/0.00117, allocations: 187.2 kB / 19.39 MB, free: 3.711 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.37/1.37, 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.2087/0.2087, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3757, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003712/0.3794, allocations: 1.788 MB / 0.5214 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3823, allocations: 1.562 MB / 0.5229 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.3825, allocations: 2.281 kB / 0.5229 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.3829, allocations: 52.3 kB / 0.523 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.3833, allocations: 90.58 kB / 0.5231 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006089/0.3839, allocations: 179.6 kB / 0.5232 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.3843, allocations: 179.1 kB / 0.5234 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.3844, allocations: 13.89 kB / 0.5234 GB, free: 1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.3845, allocations: 77.77 kB / 0.5235 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.3848, allocations: 73.22 kB / 0.5236 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.3848, allocations: 8.5 kB / 0.5236 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.385, allocations: 64.62 kB / 0.5236 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.3851, allocations: 26.3 kB / 0.5236 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.3852, allocations: 65.22 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.3856, allocations: 173.7 kB / 0.5239 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3856, allocations: 0.75 kB / 0.5239 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3856, allocations: 0 / 0.5239 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3856, allocations: 1.25 kB / 0.5239 GB, free: 0.7812 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007239/0.3863, allocations: 467 kB / 0.5243 GB, free: 352 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3864, allocations: 9.406 kB / 0.5243 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.24e-05/0.3865, allocations: 17.53 kB / 0.5243 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.3869, allocations: 254.7 kB / 0.5246 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3869, allocations: 7.312 kB / 0.5246 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.387, allocations: 7.969 kB / 0.5246 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.3872, allocations: 96.5 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3873, allocations: 1.531 kB / 0.5247 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3873, allocations: 4.688 kB / 0.5247 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3873, allocations: 1.5 kB / 0.5247 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3875, allocations: 34.16 kB / 0.5247 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.3878, allocations: 212.5 kB / 0.5249 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003601/0.3882, allocations: 102.8 kB / 0.525 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3883, allocations: 46.81 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3884, allocations: 2.188 kB / 0.5251 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.3886, allocations: 112.1 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.347e-06/0.3886, allocations: 1.188 kB / 0.5252 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004683/0.3891, allocations: 171.8 kB / 0.5254 GB, free: 15.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.3892, allocations: 131.1 kB / 0.5255 GB, free: 15.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.3894, allocations: 217.3 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3895, allocations: 28.08 kB / 0.5257 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.3895, allocations: 110.7 kB / 0.5258 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.3896, allocations: 30.94 kB / 0.5259 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.3897, allocations: 29.56 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3898, allocations: 329.2 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.3899, allocations: 26.12 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.39, allocations: 72.48 kB / 0.5263 GB, free: 14.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3902, allocations: 93 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3902, allocations: 0 / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002938/0.3905, allocations: 139.6 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3905, allocations: 4.312 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3905, allocations: 5.812 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3906, allocations: 4.109 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3907, allocations: 22.55 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3907, allocations: 2.203 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.711e-05/0.3908, allocations: 14.16 kB / 0.5266 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3908, allocations: 5.594 kB / 0.5266 GB, free: 14.48 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001114/0.3909, allocations: 129.4 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.391, allocations: 21.95 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.391, allocations: 21.31 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.391, allocations: 0.6562 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.391, allocations: 1.375 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.3911, allocations: 94.34 kB / 0.5268 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3911, allocations: 5.938 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.598e-05/0.3912, allocations: 10.47 kB / 0.5268 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.3913, allocations: 10.41 kB / 0.5268 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003453/0.3916, allocations: 287.8 kB / 0.5271 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003729/0.392, allocations: 393.3 kB / 0.5275 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001019/0.3921, allocations: 36.97 kB / 0.5275 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.3923, allocations: 157.4 kB / 0.5277 GB, free: 13.57 MB / 398.1 MB Notification: Performance of Backend: time 4.6e-07/0.3923, allocations: 0 / 0.5277 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.394, allocations: 0.5456 MB / 0.5282 GB, free: 13.34 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008318/0.3948, allocations: 0.7291 MB / 0.5289 GB, free: 12.68 MB / 398.1 MB Notification: Performance of Templates: time 0.006689/0.4015, allocations: 2.876 MB / 0.5317 GB, free: 11.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches