Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001579/0.001579, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.338/1.338, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1945/0.1945, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 55.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3454, allocations: 60.83 MB / 0.5189 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.004071/0.3495, allocations: 1.62 MB / 0.5205 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3506, allocations: 451.7 kB / 0.5209 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.3507, allocations: 1.281 kB / 0.5209 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009319/0.3516, allocations: 450.9 kB / 0.5214 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005133/0.3522, allocations: 251.8 kB / 0.5216 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.3527, allocations: 171.8 kB / 0.5218 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.3531, allocations: 162.3 kB / 0.5219 GB, free: 2.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3532, allocations: 23.09 kB / 0.5219 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.3534, allocations: 103.8 kB / 0.522 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.3537, allocations: 211 kB / 0.5222 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.3538, allocations: 7.438 kB / 0.5223 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.3539, allocations: 42.28 kB / 0.5223 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.3541, allocations: 83.08 kB / 0.5224 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.466e-05/0.3542, allocations: 99.16 kB / 0.5225 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.3546, allocations: 258.5 kB / 0.5227 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3546, allocations: 0 / 0.5227 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3546, allocations: 0 / 0.5227 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3546, allocations: 1.156 kB / 0.5227 GB, free: 2.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007794/0.3554, allocations: 0.6458 MB / 0.5233 GB, free: 1.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.3555, allocations: 9.188 kB / 0.5234 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.3556, allocations: 50.98 kB / 0.5234 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.3559, allocations: 302.4 kB / 0.5237 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3559, allocations: 2 kB / 0.5237 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.3559, allocations: 3.656 kB / 0.5237 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3561, allocations: 57.39 kB / 0.5238 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3561, allocations: 1.812 kB / 0.5238 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3562, allocations: 0 / 0.5238 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.3562, allocations: 1.375 kB / 0.5238 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3563, allocations: 38.3 kB / 0.5238 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.3569, allocations: 393 kB / 0.5242 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.3572, allocations: 43.94 kB / 0.5242 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.3573, allocations: 19.09 kB / 0.5242 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3573, allocations: 3.938 kB / 0.5242 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3573, allocations: 37.06 kB / 0.5243 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3574, allocations: 0 / 0.5243 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007993/0.3582, allocations: 237.8 kB / 0.5245 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3582, allocations: 51.41 kB / 0.5245 GB, free: 464 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3593, allocations: 0.8715 MB / 0.5254 GB, free: 96 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.3593, allocations: 25.7 kB / 0.5254 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.3596, allocations: 225.4 kB / 0.5256 GB, free: 15.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.3596, allocations: 10.81 kB / 0.5256 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.3597, allocations: 21.77 kB / 0.5257 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3599, allocations: 359.4 kB / 0.526 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.36, allocations: 20.58 kB / 0.526 GB, free: 15.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.3601, allocations: 21.05 kB / 0.526 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.3603, allocations: 58.44 kB / 0.5261 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3603, allocations: 1.375 kB / 0.5261 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003126/0.3607, allocations: 122.4 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3607, allocations: 4.562 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3607, allocations: 0 / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3607, allocations: 1.781 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.3608, allocations: 13.11 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3608, allocations: 3.938 kB / 0.5262 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.456e-05/0.3609, allocations: 7.562 kB / 0.5263 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.361, allocations: 9.234 kB / 0.5263 GB, free: 15.34 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 (5): * Single equations (assignments): 5 * 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.0002716/0.3612, allocations: 210 kB / 0.5265 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.3613, allocations: 46.27 kB / 0.5265 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.3617, allocations: 142.1 kB / 0.5266 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.3618, allocations: 1.219 kB / 0.5266 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3618, allocations: 0 / 0.5266 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3618, allocations: 5.094 kB / 0.5266 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.3626, allocations: 467.2 kB / 0.5271 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3627, allocations: 64 / 0.5271 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.3627, allocations: 17.5 kB / 0.5271 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3628, allocations: 3.984 kB / 0.5271 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3628, allocations: 9.312 kB / 0.5271 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3628, allocations: 3.938 kB / 0.5271 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3628, allocations: 1.375 kB / 0.5271 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003324/0.3631, allocations: 213.2 kB / 0.5273 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.911e-05/0.3633, allocations: 114.3 kB / 0.5274 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.3633, allocations: 3.938 kB / 0.5274 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3634, allocations: 7.094 kB / 0.5274 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.3635, allocations: 10.88 kB / 0.5275 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.3635, allocations: 0.9688 kB / 0.5275 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009058/0.3644, allocations: 0.6514 MB / 0.5281 GB, free: 14.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3644, allocations: 0 / 0.5281 GB, free: 14.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000472/0.3649, allocations: 22.88 kB / 0.5281 GB, free: 14.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001388/0.3663, allocations: 403.2 kB / 0.5285 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.3666, allocations: 54.61 kB / 0.5286 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3666, allocations: 0 / 0.5286 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3668, allocations: 33.27 kB / 0.5286 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006365/0.3674, allocations: 24.73 kB / 0.5286 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.369, allocations: 0.7913 MB / 0.5294 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.3696, allocations: 0.8324 MB / 0.5302 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.116e-05/0.3697, allocations: 17.09 kB / 0.5302 GB, free: 12.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.3698, allocations: 11.5 kB / 0.5302 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3698, allocations: 4 kB / 0.5302 GB, free: 12.55 MB / 398.1 MB Notification: Performance of Templates: time 0.007409/0.3772, allocations: 1.476 MB / 0.5317 GB, free: 11.82 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches