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.001907/0.001907, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002153/0.002153, 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.55/1.55, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2508/0.2508, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 76.09 kB / 481.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.00295/0.403, allocations: 1.674 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.404, allocations: 0.5797 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.4041, allocations: 1.344 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.4043, allocations: 63.75 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.4046, allocations: 93.55 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.4051, allocations: 177.8 kB / 0.5335 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.4053, allocations: 94.23 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.4054, allocations: 19.23 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.063e-05/0.4055, allocations: 42.95 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.4056, allocations: 45.83 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.4057, allocations: 4.125 kB / 0.5337 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.4058, allocations: 48.97 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.064e-05/0.4059, allocations: 29.55 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.4059, allocations: 34.56 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.4061, allocations: 127.4 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4061, allocations: 1.375 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4061, allocations: 0 / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4061, 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.0005361/0.4067, allocations: 417.7 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.4067, allocations: 8.25 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.4068, allocations: 14.25 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.407, allocations: 208.4 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.407, allocations: 1.75 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.407, allocations: 3.125 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.4072, allocations: 73.03 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4072, allocations: 1.375 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.4072, allocations: 0 / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4073, allocations: 5.312 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.4074, allocations: 44.66 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.4079, allocations: 324.1 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.4081, allocations: 61.44 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.4082, allocations: 33.62 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.4083, allocations: 5.281 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.4083, allocations: 31.75 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.4083, allocations: 0 / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001532/0.4098, allocations: 429.3 kB / 0.5356 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.4099, allocations: 57.56 kB / 0.5356 GB, free: 9.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.4101, allocations: 199.2 kB / 0.5358 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4101, allocations: 30.77 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.4102, allocations: 105.9 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.4102, allocations: 32.06 kB / 0.536 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.4103, allocations: 29.7 kB / 0.536 GB, free: 9.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4104, allocations: 322.2 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.4106, allocations: 57.27 kB / 0.5364 GB, free: 9.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.4107, allocations: 61.44 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.411, allocations: 124.1 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.411, allocations: 0 / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000344/0.4114, allocations: 168.3 kB / 0.5367 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4114, allocations: 5.969 kB / 0.5367 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4114, allocations: 0 / 0.5367 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4114, allocations: 5.25 kB / 0.5367 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4116, allocations: 35.81 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.4116, allocations: 5.312 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.483e-05/0.4117, allocations: 12.67 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4117, allocations: 3.5 kB / 0.5368 GB, free: 9 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.0001009/0.4118, allocations: 133.5 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.4118, allocations: 9.375 kB / 0.5369 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.4123, allocations: 182.9 kB / 0.5371 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4123, allocations: 5.312 kB / 0.5371 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4123, allocations: 1.812 kB / 0.5371 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4123, allocations: 0 / 0.5371 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008237/0.4132, allocations: 0.5051 MB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4132, allocations: 0.9688 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.4133, allocations: 36.8 kB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4133, allocations: 1.281 kB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.4133, allocations: 2.406 kB / 0.5376 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.4134, allocations: 9.359 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4134, allocations: 3.938 kB / 0.5376 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/0.4138, allocations: 269.6 kB / 0.5379 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.4139, allocations: 92.42 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.4139, allocations: 1.125 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.414, allocations: 18.89 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.4141, allocations: 4.531 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4141, allocations: 7.297 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4143, allocations: 147.7 kB / 0.5381 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4143, allocations: 0 / 0.5381 GB, free: 7.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.4146, allocations: 26.52 kB / 0.5382 GB, free: 7.824 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.001064/0.4157, allocations: 456.1 kB / 0.5386 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.416, allocations: 136.1 kB / 0.5387 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4161, allocations: 0 / 0.5387 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.4162, allocations: 67.33 kB / 0.5388 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.4166, allocations: 23.23 kB / 0.5388 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.4173, allocations: 323.9 kB / 0.5391 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.4177, allocations: 0.7164 MB / 0.5398 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.4179, allocations: 33.77 kB / 0.5399 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.839e-05/0.4179, allocations: 19.72 kB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4179, allocations: 0 / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of Templates: time 0.005195/0.4231, allocations: 1.638 MB / 0.5415 GB, free: 5.672 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