Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 117.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002219/0.00222, allocations: 199.8 kB / 18.73 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, 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.2273/0.2273, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 80.09 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4154, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003021/0.4185, allocations: 1.68 MB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.4195, allocations: 0.5498 MB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.4196, allocations: 1.375 kB / 0.5332 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.4198, allocations: 59.17 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.4201, allocations: 96.58 kB / 0.5333 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/0.4204, allocations: 138.8 kB / 0.5335 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.4206, allocations: 87.5 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4207, allocations: 16.47 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.714e-05/0.4208, allocations: 38.97 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.4209, allocations: 44.45 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.4209, allocations: 4.125 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.421, allocations: 56.91 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.895e-05/0.4211, allocations: 28.17 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.4211, allocations: 34.61 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.4213, allocations: 109.4 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4213, allocations: 1.281 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4213, allocations: 3.938 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.4213, allocations: 0 / 0.5339 GB, free: 11.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005143/0.4218, allocations: 416.4 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.4219, allocations: 13.03 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.4219, allocations: 13.62 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.4221, allocations: 207 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.4222, allocations: 1.781 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4222, allocations: 4.125 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.4224, allocations: 63.08 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.4224, allocations: 1.5 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4224, allocations: 4 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4224, allocations: 1.312 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4226, allocations: 41.73 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.423, allocations: 306.6 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.4232, allocations: 62.89 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.785e-05/0.4233, allocations: 25.03 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.4234, allocations: 1.125 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4234, allocations: 34.56 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.4234, allocations: 1.156 kB / 0.535 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001494/0.4249, allocations: 397.9 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.425, allocations: 56.56 kB / 0.5355 GB, free: 9.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4252, allocations: 197.3 kB / 0.5357 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4252, allocations: 27.08 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.4253, allocations: 104.1 kB / 0.5358 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.4253, allocations: 40.42 kB / 0.5358 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.4254, allocations: 25.92 kB / 0.5358 GB, free: 9.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4255, allocations: 321.4 kB / 0.5361 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4256, allocations: 43.47 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.4257, allocations: 44.38 kB / 0.5362 GB, free: 9.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.426, allocations: 104.4 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.426, allocations: 0 / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003268/0.4263, allocations: 142.6 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.4264, allocations: 5.219 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4264, allocations: 0 / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4264, allocations: 1.094 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.4265, allocations: 35.84 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4265, allocations: 1.469 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.4266, allocations: 9.562 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4266, allocations: 7.234 kB / 0.5365 GB, free: 9.121 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 (11): * Single equations (assignments): 11 * 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.452e-05/0.4267, allocations: 128 kB / 0.5366 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.4267, allocations: 13.25 kB / 0.5367 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000419/0.4272, allocations: 162.4 kB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4272, allocations: 9.109 kB / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4272, allocations: 0 / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4272, allocations: 1.031 kB / 0.5368 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.4278, allocations: 479 kB / 0.5373 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4279, allocations: 1.188 kB / 0.5373 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.428, allocations: 24.73 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.428, allocations: 5.047 kB / 0.5373 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.428, allocations: 2.188 kB / 0.5373 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.428, allocations: 1.219 kB / 0.5373 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.428, allocations: 5.156 kB / 0.5373 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.4284, allocations: 263.4 kB / 0.5376 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.4285, allocations: 84.64 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.4285, allocations: 9.281 kB / 0.5377 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.634e-05/0.4286, allocations: 14.05 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.4286, allocations: 8.984 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.4286, allocations: 2.969 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001323/0.4288, allocations: 150.8 kB / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4288, allocations: 0 / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.4291, allocations: 29.48 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001116/0.4302, allocations: 449.9 kB / 0.5383 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003629/0.4306, allocations: 111.2 kB / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4306, allocations: 0 / 0.5384 GB, free: 7.707 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.4308, allocations: 63.61 kB / 0.5385 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.4312, allocations: 26.47 kB / 0.5385 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.4319, allocations: 303.5 kB / 0.5388 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4323, allocations: 0.7089 MB / 0.5395 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.447e-05/0.4324, allocations: 21.38 kB / 0.5395 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.4324, allocations: 14.75 kB / 0.5395 GB, free: 6.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4324, allocations: 0 / 0.5395 GB, free: 6.707 MB / 398.1 MB Notification: Performance of Templates: time 0.00486/0.4373, allocations: 1.576 MB / 0.541 GB, free: 5.902 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches