Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00116/0.00116, 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.001357/0.001357, allocations: 198 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.537/1.537, 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.2356/0.2356, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 76.09 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4257, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003822/0.4295, allocations: 1.678 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.4308, allocations: 0.576 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.4309, allocations: 1.344 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.4312, allocations: 73.41 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.4315, allocations: 104.9 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.432, allocations: 180.9 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.4322, allocations: 91.67 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4323, allocations: 23.22 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.4324, allocations: 44.27 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.4325, allocations: 53.95 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.4325, allocations: 8.125 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.4327, allocations: 48.97 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.4327, allocations: 29.48 kB / 0.5339 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.4328, allocations: 34.56 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.4331, allocations: 130.5 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4331, allocations: 4 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4331, allocations: 0 / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4331, allocations: 0 / 0.534 GB, free: 11.34 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.0006659/0.4338, allocations: 425 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4339, allocations: 13.62 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.4339, allocations: 10.39 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.4342, allocations: 204.5 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4342, allocations: 3.125 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.4342, allocations: 3.125 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.4344, allocations: 76.97 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4345, allocations: 0 / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4345, allocations: 1.375 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.4345, allocations: 1.375 kB / 0.5347 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.4347, allocations: 47.89 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.4351, allocations: 325.2 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.4354, allocations: 60.86 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.4355, allocations: 30.62 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4355, allocations: 1.25 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4356, allocations: 35.73 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4356, allocations: 0 / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001544/0.4371, allocations: 446.5 kB / 0.5356 GB, free: 9.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.4372, allocations: 56.5 kB / 0.5357 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.4374, allocations: 217.9 kB / 0.5359 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4374, allocations: 26.83 kB / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.4375, allocations: 106.3 kB / 0.536 GB, free: 9.574 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.4376, allocations: 31.52 kB / 0.536 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.4376, allocations: 31.2 kB / 0.5361 GB, free: 9.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.4377, allocations: 322.2 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.4379, allocations: 56.58 kB / 0.5364 GB, free: 9.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.438, allocations: 56.95 kB / 0.5365 GB, free: 9.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.4384, allocations: 120.8 kB / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4384, allocations: 3.938 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003836/0.4388, allocations: 168.9 kB / 0.5368 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4388, allocations: 9.375 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4388, allocations: 0 / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4388, allocations: 5.266 kB / 0.5368 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.4389, allocations: 27.73 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.439, allocations: 1.062 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.439, allocations: 13.58 kB / 0.5368 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4391, allocations: 6.656 kB / 0.5368 GB, free: 8.957 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.0001218/0.4392, allocations: 135 kB / 0.537 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.4392, allocations: 14.41 kB / 0.537 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.4397, allocations: 195.8 kB / 0.5372 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4397, allocations: 5.5 kB / 0.5372 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4397, allocations: 0.9688 kB / 0.5372 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4397, allocations: 4 kB / 0.5372 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007553/0.4405, allocations: 0.4992 MB / 0.5377 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4405, allocations: 5.156 kB / 0.5377 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4406, allocations: 27.75 kB / 0.5377 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4406, allocations: 6.219 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4406, allocations: 1.375 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4406, allocations: 6.188 kB / 0.5377 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4406, allocations: 0 / 0.5377 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.4411, allocations: 278.3 kB / 0.538 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.4411, allocations: 84.44 kB / 0.5381 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.4411, allocations: 5.031 kB / 0.5381 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4413, allocations: 14.42 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.4413, allocations: 13.23 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.4413, allocations: 3.312 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.4415, allocations: 166.9 kB / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4415, allocations: 0 / 0.5382 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.4418, allocations: 31.77 kB / 0.5383 GB, free: 7.758 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.001056/0.4428, allocations: 457.1 kB / 0.5387 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.4432, allocations: 129.2 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4432, allocations: 0 / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.4434, allocations: 67.08 kB / 0.5389 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.4438, allocations: 26.8 kB / 0.5389 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006386/0.4444, allocations: 330.8 kB / 0.5392 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.4448, allocations: 0.7225 MB / 0.5399 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.881e-05/0.4449, allocations: 34.94 kB / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.4449, allocations: 23.48 kB / 0.54 GB, free: 6.426 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.445, allocations: 0 / 0.54 GB, free: 6.426 MB / 398.1 MB Notification: Performance of Templates: time 0.00494/0.4499, allocations: 1.643 MB / 0.5416 GB, free: 5.594 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches