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.001117/0.001117, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2247/0.2247, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.4563, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.004314/0.4607, allocations: 1.596 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.4628, allocations: 1.163 MB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.14e-05/0.4629, allocations: 1.875 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.4632, allocations: 31.08 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.4635, allocations: 85.61 kB / 0.5338 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.4639, allocations: 111.3 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.4641, allocations: 66.55 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.4642, allocations: 19.34 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.4643, allocations: 29.11 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.4645, allocations: 31.03 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.4645, allocations: 5.094 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000201/0.4647, allocations: 99 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.4648, allocations: 19.28 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.4648, allocations: 20.47 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.4651, allocations: 147.7 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4651, allocations: 0 / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4651, allocations: 0 / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4651, allocations: 0 / 0.5343 GB, free: 11.02 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.0006176/0.4658, allocations: 396.4 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4658, allocations: 9.156 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.4659, allocations: 8.344 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.4661, allocations: 197.3 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.4662, allocations: 5.469 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.4662, allocations: 2.656 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.4664, allocations: 72.23 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4664, allocations: 0 / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4664, allocations: 5.406 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4664, allocations: 0 / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.926e-05/0.4665, allocations: 22.02 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.467, allocations: 283.6 kB / 0.5353 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.4672, allocations: 53.27 kB / 0.5353 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.4673, allocations: 16.39 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.4673, allocations: 1.219 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4674, allocations: 43.48 kB / 0.5354 GB, free: 9.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.4674, allocations: 0 / 0.5354 GB, free: 9.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000637/0.468, allocations: 146.7 kB / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.4681, allocations: 82.48 kB / 0.5356 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.4683, allocations: 147.8 kB / 0.5358 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4683, allocations: 25.7 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.4684, allocations: 96.25 kB / 0.5359 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4684, allocations: 21.02 kB / 0.5359 GB, free: 9.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.4685, allocations: 19.22 kB / 0.5359 GB, free: 9.418 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4686, allocations: 324.1 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.4687, allocations: 20.36 kB / 0.5362 GB, free: 9.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.4688, allocations: 36.83 kB / 0.5363 GB, free: 9.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.4689, allocations: 58.88 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4689, allocations: 0 / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001981/0.4691, allocations: 79.95 kB / 0.5364 GB, free: 8.973 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4692, allocations: 5.281 kB / 0.5364 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4692, allocations: 4.031 kB / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4692, allocations: 0 / 0.5364 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.4693, allocations: 14.52 kB / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.4693, allocations: 0 / 0.5364 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.4693, allocations: 12.33 kB / 0.5364 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4694, allocations: 5.438 kB / 0.5365 GB, free: 8.953 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.0001017/0.4695, allocations: 113 kB / 0.5366 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.4695, allocations: 8.812 kB / 0.5366 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.4698, allocations: 103.2 kB / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4698, allocations: 1.094 kB / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4698, allocations: 0 / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4698, allocations: 1.031 kB / 0.5367 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004792/0.4703, allocations: 367.4 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4703, allocations: 0 / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.4704, allocations: 13.95 kB / 0.537 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4704, allocations: 13.19 kB / 0.537 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.4704, allocations: 0 / 0.537 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4704, allocations: 5.094 kB / 0.537 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4704, allocations: 0 / 0.537 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.4707, allocations: 179.3 kB / 0.5372 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.4707, allocations: 86.19 kB / 0.5373 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4708, allocations: 2.125 kB / 0.5373 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.4708, allocations: 15.11 kB / 0.5373 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.4709, allocations: 6.094 kB / 0.5373 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.4709, allocations: 1.062 kB / 0.5373 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.471, allocations: 116.6 kB / 0.5374 GB, free: 8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.471, allocations: 0 / 0.5374 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000296/0.4713, allocations: 40.28 kB / 0.5375 GB, free: 7.984 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.001196/0.4725, allocations: 492.2 kB / 0.5379 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.4727, allocations: 55.73 kB / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4728, allocations: 0 / 0.538 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/0.4729, allocations: 28.92 kB / 0.538 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.4732, allocations: 29.56 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.4737, allocations: 173.7 kB / 0.5382 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.474, allocations: 0.6942 MB / 0.5389 GB, free: 6.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.802e-05/0.4741, allocations: 21.95 kB / 0.5389 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.4741, allocations: 17.58 kB / 0.5389 GB, free: 6.805 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4741, allocations: 0 / 0.5389 GB, free: 6.805 MB / 398.1 MB Notification: Performance of Templates: time 0.004972/0.4791, allocations: 1.752 MB / 0.5406 GB, free: 5.895 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