Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 110.6 kB / 18.45 MB, free: 4.621 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.001506/0.001506, allocations: 185.2 kB / 19.38 MB, free: 3.699 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.372/1.372, 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.2147/0.2147, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.88 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3614, allocations: 60.82 MB / 0.5196 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002994/0.3645, allocations: 1.649 MB / 0.5212 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007593/0.3653, allocations: 451.1 kB / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.3654, allocations: 1.938 kB / 0.5216 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.3657, allocations: 69.02 kB / 0.5217 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.3659, allocations: 62.14 kB / 0.5218 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.3664, allocations: 172.4 kB / 0.5219 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.3666, allocations: 91.16 kB / 0.522 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3667, allocations: 20.55 kB / 0.522 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.597e-05/0.3668, allocations: 39.8 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3669, allocations: 50.77 kB / 0.5221 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3669, allocations: 3.312 kB / 0.5221 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.367, allocations: 47.44 kB / 0.5222 GB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.3671, allocations: 31.22 kB / 0.5222 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.3671, allocations: 31.98 kB / 0.5222 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.3674, allocations: 119.2 kB / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3674, allocations: 0 / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3674, allocations: 1 kB / 0.5223 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3674, allocations: 0 / 0.5223 GB, free: 1.906 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004669/0.3679, allocations: 417.6 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3679, allocations: 9.219 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.368, allocations: 13.91 kB / 0.5228 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.3681, allocations: 195.5 kB / 0.5229 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.3681, allocations: 5.312 kB / 0.5229 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.3682, allocations: 15.55 kB / 0.523 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3684, allocations: 71.31 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3684, allocations: 0 / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3684, allocations: 1.438 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3684, allocations: 0.75 kB / 0.523 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3685, allocations: 43.25 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.369, allocations: 330.7 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.3692, allocations: 57.08 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.3693, allocations: 26.02 kB / 0.5235 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.3693, allocations: 5.672 kB / 0.5235 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.3694, allocations: 31.56 kB / 0.5235 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3694, allocations: 5.062 kB / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001473/0.3708, allocations: 418.7 kB / 0.5239 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.3709, allocations: 56.38 kB / 0.524 GB, free: 0.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3711, allocations: 215.6 kB / 0.5242 GB, free: 488 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3711, allocations: 27.17 kB / 0.5242 GB, free: 456 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.3712, allocations: 108.6 kB / 0.5243 GB, free: 352 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.3712, allocations: 35.45 kB / 0.5243 GB, free: 324 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.3712, allocations: 27.19 kB / 0.5244 GB, free: 300 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.996e-05/0.3713, allocations: 323.7 kB / 0.5247 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.3715, allocations: 50.33 kB / 0.5247 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3717, allocations: 57.27 kB / 0.5248 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.3719, allocations: 126 kB / 0.5249 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.372, allocations: 1.031 kB / 0.5249 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003661/0.3723, allocations: 165.1 kB / 0.525 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3724, allocations: 6.031 kB / 0.5251 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3724, allocations: 1.844 kB / 0.5251 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3724, allocations: 4 kB / 0.5251 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3725, allocations: 29.06 kB / 0.5251 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3725, allocations: 1.781 kB / 0.5251 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.3726, allocations: 17.09 kB / 0.5251 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3726, allocations: 2.031 kB / 0.5251 GB, free: 15.81 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 (11): * Single equations (assignments): 11 * 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.0001117/0.3727, allocations: 135.5 kB / 0.5252 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.3728, allocations: 13.53 kB / 0.5252 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.3732, allocations: 191.8 kB / 0.5254 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.3732, allocations: 5.656 kB / 0.5254 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3732, allocations: 0 / 0.5254 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3733, allocations: 1.984 kB / 0.5254 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007448/0.374, allocations: 0.5005 MB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.374, allocations: 1.344 kB / 0.5259 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3741, allocations: 33.22 kB / 0.526 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3741, allocations: 1.469 kB / 0.526 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3742, allocations: 2.234 kB / 0.526 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3742, allocations: 1.656 kB / 0.526 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.3742, allocations: 5.531 kB / 0.526 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004022/0.3746, allocations: 271.6 kB / 0.5262 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.3746, allocations: 88.3 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3747, allocations: 2.344 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.3748, allocations: 22.03 kB / 0.5263 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.3748, allocations: 8.219 kB / 0.5263 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.3749, allocations: 3.781 kB / 0.5263 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.375, allocations: 155.8 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.375, allocations: 0 / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.3753, allocations: 28.34 kB / 0.5265 GB, free: 14.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00106/0.3764, allocations: 460.2 kB / 0.527 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003684/0.3767, allocations: 131.8 kB / 0.5271 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3767, allocations: 0 / 0.5271 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.3769, allocations: 77.53 kB / 0.5272 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.3773, allocations: 22.05 kB / 0.5272 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.378, allocations: 333.2 kB / 0.5275 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3783, allocations: 0.7238 MB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.3783, allocations: 17.03 kB / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3784, allocations: 0 / 0.5282 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.004198/0.3826, allocations: 2.058 MB / 0.5302 GB, free: 12.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches