Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001177/0.001177, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001324, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2382/0.2382, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 76.09 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4678, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003149/0.471, allocations: 1.629 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.4721, allocations: 0.5447 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.383e-05/0.4722, allocations: 1.188 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.4726, allocations: 126 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.4729, allocations: 130.9 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.4733, allocations: 114.6 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.4735, allocations: 97.17 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4736, allocations: 21.61 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.4737, allocations: 45.83 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.4738, allocations: 86.52 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.4739, allocations: 2.75 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.474, allocations: 44.86 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.446e-05/0.474, allocations: 28.23 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.4741, allocations: 38.56 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.4743, allocations: 120 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4743, allocations: 4 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4743, allocations: 0 / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4744, allocations: 1.375 kB / 0.534 GB, free: 11.45 MB / 398.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.0005517/0.4749, allocations: 448.8 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.475, allocations: 13.56 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.475, allocations: 14.34 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.4752, allocations: 211 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.4752, allocations: 1.75 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.4753, allocations: 7.125 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.4754, allocations: 58.05 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.4755, allocations: 9.312 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4755, allocations: 4 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4755, allocations: 1.344 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.4756, allocations: 27.89 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.476, allocations: 304.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.4762, allocations: 51.08 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.4762, allocations: 17.36 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.4763, allocations: 5.328 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.4763, allocations: 35.75 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4763, allocations: 0 / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009475/0.4772, allocations: 248.1 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.4773, allocations: 52.58 kB / 0.5354 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.4776, allocations: 278.2 kB / 0.5357 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.4776, allocations: 30.83 kB / 0.5357 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.4777, allocations: 116.2 kB / 0.5358 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.4778, allocations: 34.02 kB / 0.5358 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.4778, allocations: 24.97 kB / 0.5359 GB, free: 9.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.478, allocations: 327.4 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.4781, allocations: 28.06 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/0.4781, allocations: 28.95 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.4783, allocations: 82.53 kB / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4783, allocations: 0 / 0.5363 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002287/0.4786, allocations: 114.5 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4786, allocations: 5.562 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4786, allocations: 0 / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4786, allocations: 3.938 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.4787, allocations: 25.92 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4788, allocations: 1.031 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.4788, allocations: 11.42 kB / 0.5365 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.4788, allocations: 1.969 kB / 0.5365 GB, free: 9.191 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 (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.0001127/0.4789, allocations: 141.8 kB / 0.5366 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.479, allocations: 14.69 kB / 0.5366 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.4793, allocations: 137.4 kB / 0.5367 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4793, allocations: 0 / 0.5367 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4793, allocations: 1.469 kB / 0.5367 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4794, allocations: 3.938 kB / 0.5367 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005609/0.4799, allocations: 435.8 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4799, allocations: 1.469 kB / 0.5372 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.756e-05/0.48, allocations: 18.09 kB / 0.5372 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.48, allocations: 7.922 kB / 0.5372 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.48, allocations: 1.562 kB / 0.5372 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.48, allocations: 1.5 kB / 0.5372 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4801, allocations: 0 / 0.5372 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.4803, allocations: 214.8 kB / 0.5374 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.4804, allocations: 93.33 kB / 0.5375 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.4804, allocations: 5.016 kB / 0.5375 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.4805, allocations: 7.188 kB / 0.5375 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.4805, allocations: 11.09 kB / 0.5375 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.4806, allocations: 2.25 kB / 0.5375 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.4808, allocations: 209.8 kB / 0.5377 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4808, allocations: 3.938 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.481, allocations: 27.2 kB / 0.5377 GB, free: 8.098 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.001075/0.4821, allocations: 458.3 kB / 0.5382 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.4824, allocations: 67.77 kB / 0.5382 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4824, allocations: 0 / 0.5382 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.4825, allocations: 39.39 kB / 0.5383 GB, free: 7.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.4829, allocations: 30.56 kB / 0.5383 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006486/0.4835, allocations: 330.1 kB / 0.5386 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4839, allocations: 0.7179 MB / 0.5393 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.494e-05/0.484, allocations: 20.56 kB / 0.5393 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.484, allocations: 21.02 kB / 0.5394 GB, free: 6.828 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.484, allocations: 3.938 kB / 0.5394 GB, free: 6.824 MB / 398.1 MB Notification: Performance of Templates: time 0.004692/0.4887, allocations: 1.419 MB / 0.5408 GB, free: 6.109 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches