Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 105.5 kB / 17.77 MB, free: 5.316 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.001109/0.001109, allocations: 188 kB / 18.71 MB, free: 4.387 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.481/1.481, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2506/0.2506, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 71.89 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4562, allocations: 60.82 MB / 0.5189 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003703/0.46, allocations: 1.595 MB / 0.5205 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.4611, allocations: 411.4 kB / 0.5209 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.573e-05/0.4612, allocations: 1.156 kB / 0.5209 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.4617, allocations: 105.4 kB / 0.521 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.462, allocations: 81.97 kB / 0.5211 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.4624, allocations: 107.5 kB / 0.5212 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.4626, allocations: 75.78 kB / 0.5212 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.4628, allocations: 19.19 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.4629, allocations: 46.55 kB / 0.5213 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.4631, allocations: 66 kB / 0.5214 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.4631, allocations: 2.219 kB / 0.5214 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.4632, allocations: 44.42 kB / 0.5214 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.4633, allocations: 22.08 kB / 0.5214 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.4634, allocations: 35.08 kB / 0.5215 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.4637, allocations: 112.5 kB / 0.5216 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.4637, allocations: 0 / 0.5216 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4637, allocations: 1.375 kB / 0.5216 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4637, allocations: 0 / 0.5216 GB, free: 2.008 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.0005832/0.4643, allocations: 421.4 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/0.4644, allocations: 9.75 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.4644, allocations: 11.11 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.4646, allocations: 203.2 kB / 0.5222 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.4647, allocations: 9.438 kB / 0.5222 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.4647, allocations: 3.469 kB / 0.5222 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.4649, allocations: 57.39 kB / 0.5222 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.4649, allocations: 5.188 kB / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.465, allocations: 0 / 0.5222 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.465, allocations: 4.969 kB / 0.5223 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.4651, allocations: 29.94 kB / 0.5223 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004941/0.4656, allocations: 309.1 kB / 0.5226 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.4657, allocations: 44.47 kB / 0.5226 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.4658, allocations: 28.44 kB / 0.5226 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.4658, allocations: 4 kB / 0.5226 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.4659, allocations: 32.55 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4659, allocations: 0 / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001006/0.4669, allocations: 236.3 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.4669, allocations: 53.56 kB / 0.523 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.4672, allocations: 242.5 kB / 0.5232 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.4672, allocations: 26.89 kB / 0.5232 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.4673, allocations: 109.2 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.4673, allocations: 34.25 kB / 0.5234 GB, free: 472 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.4674, allocations: 21.94 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.4675, allocations: 326.3 kB / 0.5237 GB, free: 124 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.174e-05/0.4676, allocations: 30.59 kB / 0.5237 GB, free: 116 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.4677, allocations: 33.95 kB / 0.5237 GB, free: 104 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.4678, allocations: 72.47 kB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4679, allocations: 1.281 kB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002344/0.4681, allocations: 108.3 kB / 0.5239 GB, free: 20 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4681, allocations: 5.984 kB / 0.5239 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4681, allocations: 5.031 kB / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.4682, allocations: 3.984 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4683, allocations: 21.86 kB / 0.524 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4683, allocations: 9.031 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.4684, allocations: 4.797 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4684, allocations: 2.375 kB / 0.524 GB, free: 0 / 382.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 (8): * Single equations (assignments): 8 * 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.0001477/0.4685, allocations: 131.4 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.4686, allocations: 14.5 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.469, allocations: 132.9 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.469, allocations: 1.781 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.469, allocations: 4.641 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.469, allocations: 3.938 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.4697, allocations: 416.3 kB / 0.5246 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4697, allocations: 5.906 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.4698, allocations: 31.88 kB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4698, allocations: 1.5 kB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.4698, allocations: 0.8125 kB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4698, allocations: 1.938 kB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4698, allocations: 1.156 kB / 0.5247 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.4701, allocations: 217.5 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.4702, allocations: 93.95 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.4702, allocations: 2.297 kB / 0.525 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.4703, allocations: 12.11 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.4704, allocations: 5.875 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.4704, allocations: 3.5 kB / 0.525 GB, free: 15.13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.4705, allocations: 187.4 kB / 0.5252 GB, free: 15.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4706, allocations: 0 / 0.5252 GB, free: 15.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.4708, allocations: 23.27 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001103/0.4719, allocations: 456.4 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.4722, allocations: 87.89 kB / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4722, allocations: 0 / 0.5257 GB, free: 14.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4723, allocations: 39.27 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.4727, allocations: 17.77 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.4733, allocations: 286.2 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.4737, allocations: 0.7215 MB / 0.5268 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.4738, allocations: 16.69 kB / 0.5268 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.4738, allocations: 14.16 kB / 0.5268 GB, free: 13.86 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4738, allocations: 3.938 kB / 0.5268 GB, free: 13.86 MB / 398.1 MB Notification: Performance of Templates: time 0.004614/0.4784, allocations: 1.39 MB / 0.5281 GB, free: 13.39 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches