Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.001211, 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.001478/0.001478, allocations: 197.2 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.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2427/0.2427, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 76.09 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4582, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003402/0.4617, allocations: 1.616 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4628, allocations: 0.5526 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.4629, allocations: 0 / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003218/0.4632, allocations: 77.11 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.4636, allocations: 102.1 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.464, allocations: 110.7 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.4642, allocations: 88.88 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4644, allocations: 25.59 kB / 0.5335 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.4645, allocations: 27.05 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.4646, allocations: 56.69 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.4646, allocations: 2.75 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.4647, allocations: 44.86 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.4648, allocations: 24.16 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.4649, allocations: 34.56 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.4651, allocations: 114.6 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4651, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4651, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.4651, allocations: 0 / 0.5338 GB, free: 11.5 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.0005382/0.4657, allocations: 415.6 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4657, allocations: 9.625 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.4658, allocations: 14.34 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.466, allocations: 203.8 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.466, allocations: 1.75 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.4661, allocations: 15.06 kB / 0.5344 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4663, allocations: 55.55 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4663, allocations: 0 / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4663, allocations: 1.375 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4663, allocations: 0 / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.942e-05/0.4664, allocations: 36.41 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.4668, allocations: 299.9 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.467, allocations: 52.03 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.467, allocations: 29.23 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4671, allocations: 0 / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.4671, allocations: 31.88 kB / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.4671, allocations: 0 / 0.5349 GB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009484/0.468, allocations: 243.1 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.4681, allocations: 52.62 kB / 0.5352 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.4684, allocations: 213.9 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.4684, allocations: 30.89 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.4685, allocations: 109.5 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.4685, allocations: 34.98 kB / 0.5356 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.4686, allocations: 19.53 kB / 0.5356 GB, free: 9.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4687, allocations: 323.4 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/0.4688, allocations: 32.31 kB / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-05/0.4689, allocations: 32.91 kB / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.4691, allocations: 64.92 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4691, allocations: 9.188 kB / 0.536 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002226/0.4693, allocations: 108.6 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4694, allocations: 5.562 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4694, allocations: 0 / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4694, allocations: 1.094 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4695, allocations: 21.48 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4695, allocations: 5.219 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.4696, allocations: 10.64 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4696, allocations: 6.281 kB / 0.5362 GB, free: 9.328 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 9.546e-05/0.4697, allocations: 129.5 kB / 0.5363 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.4697, allocations: 12.69 kB / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.47, allocations: 134.2 kB / 0.5365 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.47, allocations: 1.594 kB / 0.5365 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4701, allocations: 7.922 kB / 0.5365 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4701, allocations: 5.281 kB / 0.5365 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.4706, allocations: 423.2 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4706, allocations: 0 / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.4707, allocations: 18.67 kB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4707, allocations: 3.938 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4707, allocations: 1.312 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4707, allocations: 1.25 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4707, allocations: 1.219 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.471, allocations: 212.4 kB / 0.5371 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.4711, allocations: 96.84 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.4711, allocations: 5.25 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.4712, allocations: 2.875 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.4712, allocations: 7.766 kB / 0.5372 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.4712, allocations: 10.72 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001499/0.4714, allocations: 171 kB / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4714, allocations: 0 / 0.5374 GB, free: 8.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.4716, allocations: 18.69 kB / 0.5374 GB, free: 8.258 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.001174/0.4728, allocations: 453.7 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.4731, allocations: 75.67 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4732, allocations: 0 / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.4733, allocations: 47.72 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.4737, allocations: 21.14 kB / 0.538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.4745, allocations: 273.6 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.4749, allocations: 0.7128 MB / 0.5389 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.439e-05/0.475, allocations: 16.47 kB / 0.5389 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.475, allocations: 13.81 kB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.475, allocations: 4 kB / 0.539 GB, free: 7.02 MB / 398.1 MB Notification: Performance of Templates: time 0.00516/0.4802, allocations: 1.388 MB / 0.5403 GB, free: 6.316 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches