Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 110.7 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.001088/0.001088, 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.359/1.359, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2269/0.2269, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.89 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3756, allocations: 60.82 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003738/0.3794, allocations: 1.978 MB / 0.5215 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.381, allocations: 0.9572 MB / 0.5224 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.3811, allocations: 2.562 kB / 0.5225 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.3816, allocations: 259.4 kB / 0.5227 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.3821, allocations: 192.4 kB / 0.5229 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.3836, allocations: 0.6493 MB / 0.5235 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.384, allocations: 308.9 kB / 0.5238 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.3842, allocations: 78.3 kB / 0.5239 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.3844, allocations: 137.4 kB / 0.524 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.3847, allocations: 200.9 kB / 0.5242 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.3847, allocations: 10.66 kB / 0.5242 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.3849, allocations: 68.59 kB / 0.5243 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.3851, allocations: 89.5 kB / 0.5244 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.377e-05/0.3852, allocations: 116.2 kB / 0.5245 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.3856, allocations: 308.3 kB / 0.5248 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3856, allocations: 0 / 0.5248 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3856, allocations: 0 / 0.5248 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.3856, allocations: 0 / 0.5248 GB, free: 0.6016 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006594/0.3863, allocations: 0.6216 MB / 0.5254 GB, free: 60 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3863, allocations: 12.55 kB / 0.5254 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.3864, allocations: 41.08 kB / 0.5254 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.3868, allocations: 314.8 kB / 0.5257 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3868, allocations: 6.438 kB / 0.5257 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.3869, allocations: 11.25 kB / 0.5257 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.3872, allocations: 136.6 kB / 0.5259 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3872, allocations: 1.375 kB / 0.5259 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3872, allocations: 6.031 kB / 0.5259 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3872, allocations: 2.75 kB / 0.5259 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.3874, allocations: 95.3 kB / 0.526 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.3882, allocations: 0.4913 MB / 0.5265 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3884, allocations: 113.5 kB / 0.5266 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.877e-05/0.3885, allocations: 40.08 kB / 0.5266 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3885, allocations: 2.75 kB / 0.5266 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3886, allocations: 31.94 kB / 0.5266 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3886, allocations: 0 / 0.5266 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00105/0.3896, allocations: 442.1 kB / 0.5271 GB, free: 14.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3897, allocations: 53.81 kB / 0.5271 GB, free: 14.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.3903, allocations: 0.5267 MB / 0.5276 GB, free: 14.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3903, allocations: 25.7 kB / 0.5277 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3905, allocations: 197.9 kB / 0.5278 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.606e-05/0.3906, allocations: 48.89 kB / 0.5279 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.3906, allocations: 34.92 kB / 0.5279 GB, free: 14.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3908, allocations: 353.5 kB / 0.5283 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.3909, allocations: 71.55 kB / 0.5283 GB, free: 13.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3911, allocations: 74.45 kB / 0.5284 GB, free: 13.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.3914, allocations: 150.4 kB / 0.5285 GB, free: 13.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.3914, allocations: 0 / 0.5285 GB, free: 13.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003986/0.3918, allocations: 236.5 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3918, allocations: 5.219 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3918, allocations: 0 / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3919, allocations: 1.375 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.392, allocations: 35.55 kB / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.392, allocations: 0 / 0.5288 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.857e-05/0.3921, allocations: 16.7 kB / 0.5288 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3921, allocations: 3.062 kB / 0.5288 GB, free: 13.64 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001791/0.3923, allocations: 182.8 kB / 0.529 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.3924, allocations: 47.81 kB / 0.529 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000532/0.393, allocations: 272.3 kB / 0.5293 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.393, allocations: 5.266 kB / 0.5293 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.393, allocations: 0 / 0.5293 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.3931, allocations: 100.8 kB / 0.5294 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.3931, allocations: 1.031 kB / 0.5294 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.3932, allocations: 7.438 kB / 0.5294 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.3933, allocations: 13.42 kB / 0.5294 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004424/0.3937, allocations: 295.9 kB / 0.5297 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004699/0.3942, allocations: 404.6 kB / 0.5301 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00016/0.3944, allocations: 89.41 kB / 0.5302 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004224/0.3948, allocations: 395.4 kB / 0.5306 GB, free: 12.43 MB / 398.1 MB Notification: Performance of Backend: time 5.31e-07/0.3948, allocations: 0 / 0.5306 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.3971, allocations: 0.8185 MB / 0.5314 GB, free: 12.1 MB / 398.1 MB Notification: Performance of SimCode: time 0.001405/0.3985, allocations: 1.087 MB / 0.5324 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Templates: time 0.008282/0.4068, allocations: 3.803 MB / 0.5361 GB, free: 9.324 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches