Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 112.9 kB / 18.45 MB, free: 4.594 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.001288/0.001288, allocations: 183 kB / 19.38 MB, free: 3.672 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.413/1.413, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.2144/0.2144, allocations: 44.19 MB / 337.4 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 71.88 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3698, allocations: 60.81 MB / 0.5197 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003136/0.373, allocations: 1.905 MB / 0.5215 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.3745, allocations: 0.9871 MB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.3746, allocations: 8.969 kB / 0.5225 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.3751, allocations: 213.5 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.3755, allocations: 173.5 kB / 0.5229 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.376, allocations: 180.5 kB / 0.523 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.3763, allocations: 241 kB / 0.5233 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3764, allocations: 21.91 kB / 0.5233 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.3766, allocations: 124.3 kB / 0.5234 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.3768, allocations: 153.5 kB / 0.5236 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.3769, allocations: 7.75 kB / 0.5236 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.377, allocations: 63.08 kB / 0.5236 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.3771, allocations: 60.34 kB / 0.5237 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.3772, allocations: 85.2 kB / 0.5238 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.3775, allocations: 229.5 kB / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3776, allocations: 1.812 kB / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3776, allocations: 0 / 0.524 GB, free: 1.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3776, allocations: 0 / 0.524 GB, free: 1.027 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.000696/0.3783, allocations: 0.5713 MB / 0.5245 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3783, allocations: 8.75 kB / 0.5245 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.3784, allocations: 29.16 kB / 0.5246 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.3788, allocations: 273.5 kB / 0.5248 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.3788, allocations: 11.19 kB / 0.5248 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.3788, allocations: 13.36 kB / 0.5249 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.3791, allocations: 119.1 kB / 0.525 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3791, allocations: 3.953 kB / 0.525 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3792, allocations: 1.906 kB / 0.525 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3792, allocations: 2.5 kB / 0.525 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3793, allocations: 49.48 kB / 0.525 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.38, allocations: 471.3 kB / 0.5255 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.3804, allocations: 123.5 kB / 0.5256 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.3805, allocations: 42.89 kB / 0.5256 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3805, allocations: 2.172 kB / 0.5256 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.3808, allocations: 128.4 kB / 0.5258 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 4.168e-06/0.3808, allocations: 0 / 0.5258 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001399/0.3822, allocations: 0.5026 MB / 0.5263 GB, free: 15.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.3823, allocations: 80.53 kB / 0.5263 GB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.3828, allocations: 433.6 kB / 0.5267 GB, free: 15.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.3828, allocations: 33.06 kB / 0.5268 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.383, allocations: 152 kB / 0.5269 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/0.3831, allocations: 71.31 kB / 0.527 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/0.3831, allocations: 42.06 kB / 0.527 GB, free: 14.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3833, allocations: 342.3 kB / 0.5274 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3834, allocations: 56 kB / 0.5274 GB, free: 14.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.3836, allocations: 105.6 kB / 0.5275 GB, free: 14.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.3839, allocations: 166.3 kB / 0.5277 GB, free: 14.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3839, allocations: 0 / 0.5277 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004236/0.3843, allocations: 236.4 kB / 0.5279 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.3844, allocations: 13.44 kB / 0.5279 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3844, allocations: 1.25 kB / 0.5279 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3844, allocations: 2.844 kB / 0.5279 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.3846, allocations: 43.44 kB / 0.5279 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3846, allocations: 2.75 kB / 0.528 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.3847, allocations: 9.641 kB / 0.528 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.3847, allocations: 11.52 kB / 0.528 GB, free: 14.12 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.0001672/0.3849, allocations: 166.5 kB / 0.5281 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.3849, allocations: 38.31 kB / 0.5282 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.385, allocations: 39.12 kB / 0.5282 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3851, allocations: 0 / 0.5282 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3851, allocations: 1.219 kB / 0.5282 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.3851, allocations: 103.4 kB / 0.5283 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.3852, allocations: 6.75 kB / 0.5283 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.3853, allocations: 7.562 kB / 0.5283 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.3853, allocations: 17.22 kB / 0.5283 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004943/0.3858, allocations: 382.3 kB / 0.5287 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005095/0.3863, allocations: 473.5 kB / 0.5291 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001571/0.3865, allocations: 85.84 kB / 0.5292 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003689/0.3869, allocations: 317.4 kB / 0.5295 GB, free: 12.94 MB / 398.1 MB Notification: Performance of Backend: time 3.9e-07/0.3869, allocations: 0 / 0.5295 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.3887, allocations: 0.6325 MB / 0.5302 GB, free: 12.66 MB / 398.1 MB Notification: Performance of SimCode: time 0.001087/0.3898, allocations: 0.9264 MB / 0.5311 GB, free: 11.88 MB / 398.1 MB Notification: Performance of Templates: time 0.007378/0.3972, allocations: 3.264 MB / 0.5342 GB, free: 10.26 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches