Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, 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.00185/0.00185, allocations: 187.1 kB / 19.38 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.404/1.404, 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.2116/0.2116, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3753, allocations: 60.81 MB / 0.5196 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002909/0.3782, allocations: 1.722 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3796, allocations: 0.8753 MB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.3797, allocations: 1.312 kB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.38, allocations: 38 kB / 0.5222 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.3802, allocations: 60.5 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.3805, allocations: 104.7 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3807, allocations: 97.23 kB / 0.5225 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.417e-05/0.3808, allocations: 15.25 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.048e-05/0.3809, allocations: 41.22 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.494e-05/0.381, allocations: 26.94 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.381, allocations: 3.688 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.3811, allocations: 50.55 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.3812, allocations: 19.17 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.3812, allocations: 37.69 kB / 0.5227 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3815, allocations: 116.9 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3815, allocations: 0 / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3815, allocations: 1.031 kB / 0.5228 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3815, allocations: 0 / 0.5228 GB, free: 1.535 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.0004975/0.382, allocations: 405.5 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.382, allocations: 8.906 kB / 0.5232 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.3821, allocations: 19.19 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3823, allocations: 215.6 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3824, allocations: 1.312 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.3824, allocations: 11.08 kB / 0.5234 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3825, allocations: 54.88 kB / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3826, allocations: 0 / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3826, allocations: 0 / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3826, allocations: 1.797 kB / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.3827, allocations: 17.78 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.383, allocations: 295.8 kB / 0.5238 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.3832, allocations: 55.42 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.3832, allocations: 20.94 kB / 0.5238 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3833, allocations: 1.125 kB / 0.5238 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.3834, allocations: 74.2 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3834, allocations: 0 / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000505/0.3839, allocations: 185.5 kB / 0.5241 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.3839, allocations: 56.06 kB / 0.5241 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.3841, allocations: 193.2 kB / 0.5243 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3841, allocations: 31.64 kB / 0.5243 GB, free: 120 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.3842, allocations: 99.48 kB / 0.5244 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3842, allocations: 30.36 kB / 0.5245 GB, free: 0 / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.3843, allocations: 21.86 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3844, allocations: 330.6 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.3845, allocations: 22.25 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.3845, allocations: 34.3 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3847, allocations: 62.12 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3847, allocations: 3.938 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.3849, allocations: 102.1 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3849, allocations: 4.469 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.3849, allocations: 1.5 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3849, allocations: 5.922 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.385, allocations: 14.45 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.385, allocations: 1.062 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.3851, allocations: 3.641 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3851, allocations: 6.438 kB / 0.5251 GB, free: 15.51 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.0001086/0.3852, allocations: 134.5 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.3852, allocations: 14.19 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.3853, allocations: 16.38 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3853, allocations: 2.125 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3853, allocations: 0 / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.3854, allocations: 84.58 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.3854, allocations: 5.766 kB / 0.5253 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.289e-05/0.3855, allocations: 7.172 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3855, allocations: 8.156 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002459/0.3858, allocations: 170.2 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002954/0.3861, allocations: 285.4 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.611e-05/0.3861, allocations: 29.7 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001594/0.3863, allocations: 146.7 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.3863, allocations: 0 / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.3878, allocations: 0.4898 MB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007435/0.3886, allocations: 0.6745 MB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.004833/0.3934, allocations: 1.756 MB / 0.5288 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches