Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001443, allocations: 113.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.001481, allocations: 208.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 75.89 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3969, allocations: 62.45 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003008/0.4, allocations: 1.594 MB / 0.5332 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.401, allocations: 0.5424 MB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.01e-05/0.4011, allocations: 0 / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.4013, allocations: 20.45 kB / 0.5338 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.4016, allocations: 80.05 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.4019, allocations: 117.9 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.4021, allocations: 58.62 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.4022, allocations: 18.98 kB / 0.534 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.4023, allocations: 20.56 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.4024, allocations: 26.03 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.4024, allocations: 2.812 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.4025, allocations: 32.92 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.4025, allocations: 11.38 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.4026, allocations: 24.77 kB / 0.5342 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.4027, allocations: 84.59 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4028, allocations: 0 / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4028, allocations: 0 / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.4028, allocations: 0 / 0.5342 GB, free: 11.63 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.0004943/0.4033, allocations: 386.5 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4033, allocations: 9.094 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.4034, allocations: 12 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4036, allocations: 197.4 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4036, allocations: 2.188 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.4036, allocations: 1.344 kB / 0.5348 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.4038, allocations: 48.59 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4038, allocations: 1.094 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4038, allocations: 4 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4038, allocations: 5.078 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.451e-05/0.4039, allocations: 26.23 kB / 0.5349 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.4043, allocations: 283.8 kB / 0.5352 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.4045, allocations: 44.42 kB / 0.5352 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.4046, allocations: 15.73 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.4046, allocations: 5.453 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.4047, allocations: 34.5 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4047, allocations: 5.375 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000548/0.4052, allocations: 153.9 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.4053, allocations: 52.78 kB / 0.5355 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.4054, allocations: 147.2 kB / 0.5356 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.4055, allocations: 27.08 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.4055, allocations: 102.8 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.4056, allocations: 14.56 kB / 0.5357 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.4056, allocations: 17.84 kB / 0.5358 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4057, allocations: 325.5 kB / 0.5361 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.4058, allocations: 18.98 kB / 0.5361 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.4059, allocations: 24.34 kB / 0.5361 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.406, allocations: 50.95 kB / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.406, allocations: 5.375 kB / 0.5362 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.4062, allocations: 90.7 kB / 0.5363 GB, free: 9.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.4062, allocations: 9.484 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4063, allocations: 0 / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4063, allocations: 1.375 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.4063, allocations: 9.625 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4064, allocations: 0 / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.4064, allocations: 8.109 kB / 0.5363 GB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.4064, allocations: 5.375 kB / 0.5363 GB, free: 9.645 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 8.563e-05/0.4065, allocations: 117.9 kB / 0.5364 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.4065, allocations: 8.031 kB / 0.5364 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.4068, allocations: 100.3 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4068, allocations: 1.375 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4068, allocations: 0 / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4068, allocations: 0 / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.4073, allocations: 360.2 kB / 0.5369 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4073, allocations: 3.938 kB / 0.5369 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.4073, allocations: 13.86 kB / 0.5369 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4073, allocations: 0 / 0.5369 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.4074, allocations: 1.062 kB / 0.5369 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.4074, allocations: 12.95 kB / 0.5369 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4074, allocations: 0 / 0.5369 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.4076, allocations: 186.9 kB / 0.5371 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.4077, allocations: 79.27 kB / 0.5371 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4077, allocations: 256 / 0.5371 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.4078, allocations: 15.39 kB / 0.5372 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.4078, allocations: 2.781 kB / 0.5372 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4078, allocations: 5.156 kB / 0.5372 GB, free: 8.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.4079, allocations: 125.1 kB / 0.5373 GB, free: 8.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4079, allocations: 4 kB / 0.5373 GB, free: 8.691 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000243/0.4082, allocations: 17.59 kB / 0.5373 GB, free: 8.684 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.001017/0.4092, allocations: 395.9 kB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.4094, allocations: 57.98 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4094, allocations: 1.094 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.4095, allocations: 24.3 kB / 0.5378 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4099, allocations: 28.25 kB / 0.5378 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.4104, allocations: 203.5 kB / 0.538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4107, allocations: 0.7029 MB / 0.5387 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.4108, allocations: 12.78 kB / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4108, allocations: 0 / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of Templates: time 0.003635/0.4144, allocations: 1.458 MB / 0.5401 GB, free: 6.77 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches