Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00166/0.00166, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002047/0.002047, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.644/1.644, 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.2762/0.2762, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 71.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3948, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002842/0.3977, allocations: 1.595 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.3995, allocations: 1.172 MB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.3996, allocations: 1.156 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.3998, allocations: 25.03 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.4002, allocations: 84.19 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.4005, allocations: 110.1 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.4006, allocations: 67.75 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.4008, allocations: 14.86 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.126e-05/0.4008, allocations: 25.48 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.401, allocations: 46.77 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.401, allocations: 4.125 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.4012, allocations: 92.19 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.66e-05/0.4013, allocations: 18.67 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.4013, allocations: 21.31 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002657/0.4016, allocations: 146.9 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4016, allocations: 0 / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4016, allocations: 1.375 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.4016, allocations: 3.938 kB / 0.5343 GB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005952/0.4022, allocations: 403.6 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4023, allocations: 9.625 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.4023, allocations: 7.641 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4026, allocations: 193.8 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4026, allocations: 5.688 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.4027, allocations: 1.75 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.4029, allocations: 69.27 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4029, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.4029, allocations: 4 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4029, allocations: 1.375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.403, allocations: 25.72 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.4036, allocations: 296.1 kB / 0.5353 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.4038, allocations: 40.44 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.4039, allocations: 23.81 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.4039, allocations: 1.375 kB / 0.5354 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.404, allocations: 31.94 kB / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.404, allocations: 0 / 0.5354 GB, free: 9.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006874/0.4047, allocations: 149.8 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.4048, allocations: 82.17 kB / 0.5356 GB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.405, allocations: 141.8 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.405, allocations: 26.86 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.4051, allocations: 95.22 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.4051, allocations: 21.92 kB / 0.5359 GB, free: 9.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.4051, allocations: 15.09 kB / 0.5359 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4053, allocations: 324.8 kB / 0.5362 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.4054, allocations: 19.17 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.191e-05/0.4055, allocations: 48.31 kB / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4056, allocations: 47.52 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4056, allocations: 0 / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000198/0.4058, allocations: 88.06 kB / 0.5364 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4059, allocations: 8.984 kB / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4059, allocations: 32 / 0.5364 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4059, allocations: 4.938 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.406, allocations: 9.594 kB / 0.5364 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.406, allocations: 5.125 kB / 0.5364 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.406, allocations: 7.703 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.4061, allocations: 9.125 kB / 0.5365 GB, free: 8.977 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.0001007/0.4062, allocations: 114 kB / 0.5366 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.4062, allocations: 7.766 kB / 0.5366 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002697/0.4065, allocations: 104.3 kB / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4065, allocations: 1.188 kB / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4065, allocations: 3.938 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.4065, allocations: 0 / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.407, allocations: 359.1 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.407, allocations: 1.219 kB / 0.537 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.4071, allocations: 12.64 kB / 0.537 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4071, allocations: 9.406 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4071, allocations: 1.062 kB / 0.537 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4071, allocations: 3.938 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4071, allocations: 1.281 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.4074, allocations: 190.1 kB / 0.5372 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.4075, allocations: 83.44 kB / 0.5373 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.4075, allocations: 5.125 kB / 0.5373 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.4076, allocations: 15.2 kB / 0.5373 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.4076, allocations: 6.438 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4076, allocations: 1.031 kB / 0.5373 GB, free: 8.113 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.692e-05/0.4077, allocations: 115.8 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4077, allocations: 1.375 kB / 0.5375 GB, free: 8.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000314/0.4081, allocations: 38.89 kB / 0.5375 GB, free: 8.004 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.001197/0.4093, allocations: 492.5 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.4095, allocations: 55.3 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4095, allocations: 3.938 kB / 0.538 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.4096, allocations: 28.64 kB / 0.538 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.41, allocations: 22.42 kB / 0.5381 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.4104, allocations: 164.8 kB / 0.5382 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.4108, allocations: 0.6934 MB / 0.5389 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.4109, allocations: 21.19 kB / 0.5389 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.4109, allocations: 22.73 kB / 0.5389 GB, free: 6.832 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4109, allocations: 0 / 0.5389 GB, free: 6.832 MB / 398.1 MB Notification: Performance of Templates: time 0.004887/0.4158, allocations: 1.758 MB / 0.5407 GB, free: 5.918 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches