Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 118.1 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001302, 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.47/1.47, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2554/0.2554, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 76.08 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4569, allocations: 62.42 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003689/0.4607, allocations: 1.685 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.4622, allocations: 0.5705 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.345e-05/0.4623, allocations: 1.375 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002908/0.4626, allocations: 64.47 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.4631, allocations: 100.6 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.4639, allocations: 177.9 kB / 0.5335 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.4642, allocations: 94.23 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.4643, allocations: 27.22 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.4644, allocations: 34.97 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.4646, allocations: 49.83 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.4646, allocations: 4.125 kB / 0.5337 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.4647, allocations: 44.98 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.4648, allocations: 29.53 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.4649, allocations: 34.61 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.4652, allocations: 123.5 kB / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4652, allocations: 1.344 kB / 0.534 GB, free: 11.37 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4652, allocations: 4 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4652, allocations: 0 / 0.534 GB, free: 11.36 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.0007444/0.466, allocations: 422.5 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.4661, allocations: 10.25 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.4661, allocations: 13.03 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.4664, allocations: 205.2 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4665, allocations: 5.75 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.4665, allocations: 10.89 kB / 0.5346 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.4668, allocations: 68.86 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.4668, allocations: 0.9688 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4668, allocations: 5.188 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.4669, allocations: 4.906 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.4671, allocations: 44.59 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.4678, allocations: 323.8 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.4681, allocations: 61.55 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4683, allocations: 25.5 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.4683, allocations: 1.094 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/0.4684, allocations: 39.66 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.4684, allocations: 0 / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00232/0.4707, allocations: 426.7 kB / 0.5356 GB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.4708, allocations: 56.72 kB / 0.5356 GB, free: 9.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.4712, allocations: 195.8 kB / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.4712, allocations: 26.77 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.4714, allocations: 114 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.4714, allocations: 43.92 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.4715, allocations: 22.59 kB / 0.536 GB, free: 9.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.4718, allocations: 325.5 kB / 0.5363 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.472, allocations: 52.86 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.4722, allocations: 56.98 kB / 0.5364 GB, free: 9.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.4727, allocations: 132.8 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4727, allocations: 0 / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006471/0.4734, allocations: 164.4 kB / 0.5367 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.4734, allocations: 5.438 kB / 0.5367 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4734, allocations: 0 / 0.5367 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.4735, allocations: 4.875 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.4737, allocations: 32.48 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.4737, allocations: 5.094 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4738, allocations: 13.27 kB / 0.5368 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.4739, allocations: 3.375 kB / 0.5368 GB, free: 8.988 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 0.0001882/0.4741, allocations: 133.2 kB / 0.5369 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.447e-05/0.4741, allocations: 13.41 kB / 0.5369 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/0.4749, allocations: 190.5 kB / 0.5371 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.4749, allocations: 6.688 kB / 0.5371 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4749, allocations: 0 / 0.5371 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4749, allocations: 0 / 0.5371 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.4761, allocations: 0.4944 MB / 0.5376 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4761, allocations: 0 / 0.5376 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.4763, allocations: 32.53 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4763, allocations: 1.094 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.4763, allocations: 6.625 kB / 0.5376 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.783e-05/0.4764, allocations: 0.8438 kB / 0.5376 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4764, allocations: 4.938 kB / 0.5376 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.4771, allocations: 278 kB / 0.5379 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.4772, allocations: 88.45 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.4772, allocations: 1.125 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.4774, allocations: 19.14 kB / 0.538 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.4775, allocations: 20.55 kB / 0.538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.4775, allocations: 3.312 kB / 0.538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.4777, allocations: 151.3 kB / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4777, allocations: 1.094 kB / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005252/0.4783, allocations: 26.81 kB / 0.5382 GB, free: 7.801 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.001727/0.48, allocations: 451.3 kB / 0.5386 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.4806, allocations: 128.7 kB / 0.5387 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4807, allocations: 0 / 0.5387 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.4809, allocations: 76.36 kB / 0.5388 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.4815, allocations: 29.08 kB / 0.5388 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4828, allocations: 317.2 kB / 0.5391 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/0.4836, allocations: 0.7172 MB / 0.5398 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.4837, allocations: 30.08 kB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.4839, allocations: 27.08 kB / 0.5399 GB, free: 6.484 MB / 398.1 MB Notification: Performance of SimCode: time 1.422e-06/0.4839, allocations: 1.031 kB / 0.5399 GB, free: 6.484 MB / 398.1 MB Notification: Performance of Templates: time 0.008133/0.492, allocations: 1.636 MB / 0.5415 GB, free: 5.652 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches