Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001085/0.001085, allocations: 118.1 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.001248/0.001248, 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.368/1.368, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.13 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 76.2 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3498, allocations: 62.45 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003248/0.3531, allocations: 1.677 MB / 0.5327 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3542, allocations: 0.5724 MB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.3543, allocations: 4 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.3546, allocations: 64.47 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.3549, allocations: 102 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.3554, allocations: 177.7 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.3556, allocations: 90.23 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3557, allocations: 23.22 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.3558, allocations: 34.97 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3559, allocations: 51.2 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3559, allocations: 8.125 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.3561, allocations: 48.98 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.3561, allocations: 33.47 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.3562, allocations: 33.23 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.3564, allocations: 111.9 kB / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3564, allocations: 0 / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3564, allocations: 0 / 0.534 GB, free: 11.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3564, allocations: 1.375 kB / 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.0005301/0.357, allocations: 418.3 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.357, allocations: 13.62 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.3571, allocations: 12.97 kB / 0.5345 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.3572, allocations: 208.2 kB / 0.5347 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3573, allocations: 5.688 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.3573, allocations: 3.062 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3575, allocations: 73.59 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3575, allocations: 0.9375 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3575, allocations: 4 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3575, allocations: 1.031 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3577, allocations: 49.73 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.3582, allocations: 324.1 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3584, allocations: 60.23 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.3585, allocations: 29.53 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.3585, allocations: 1.125 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3586, allocations: 35.62 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.3586, allocations: 3.938 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001575/0.3601, allocations: 434.2 kB / 0.5357 GB, free: 9.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3602, allocations: 57.59 kB / 0.5357 GB, free: 9.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.3604, allocations: 182.5 kB / 0.5359 GB, free: 9.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3604, allocations: 31.05 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.3605, allocations: 97.05 kB / 0.536 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.3605, allocations: 44.59 kB / 0.536 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.3606, allocations: 29.77 kB / 0.5361 GB, free: 9.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3607, allocations: 322.8 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3609, allocations: 60.2 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3611, allocations: 53.88 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.3614, allocations: 123.8 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3614, allocations: 0 / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003632/0.3617, allocations: 165.4 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3618, allocations: 6.406 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3618, allocations: 1.281 kB / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3618, allocations: 0 / 0.5368 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3619, allocations: 40.78 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3619, allocations: 0 / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.362, allocations: 6.938 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.3621, allocations: 10.11 kB / 0.5368 GB, free: 8.992 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.493e-05/0.3622, allocations: 124.8 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.3622, allocations: 13.22 kB / 0.537 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004511/0.3627, allocations: 198.5 kB / 0.5371 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3627, allocations: 5.031 kB / 0.5372 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3627, allocations: 5 kB / 0.5372 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3627, allocations: 3.984 kB / 0.5372 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.3635, allocations: 0.4935 MB / 0.5376 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3635, allocations: 1.219 kB / 0.5376 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.3636, allocations: 31.61 kB / 0.5377 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3637, allocations: 6.25 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.3637, allocations: 1.125 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3637, allocations: 1.188 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3637, allocations: 1.219 kB / 0.5377 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.3641, allocations: 281.5 kB / 0.538 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.3641, allocations: 91.44 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3642, allocations: 6.938 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.3643, allocations: 9.781 kB / 0.5381 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.3643, allocations: 8.859 kB / 0.5381 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3643, allocations: 3.375 kB / 0.5381 GB, free: 7.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.3645, allocations: 152 kB / 0.5382 GB, free: 7.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3645, allocations: 4 kB / 0.5382 GB, free: 7.816 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.3648, allocations: 23.03 kB / 0.5382 GB, free: 7.812 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.001067/0.3658, allocations: 453.8 kB / 0.5387 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.3662, allocations: 132.8 kB / 0.5388 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3662, allocations: 0 / 0.5388 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3664, allocations: 71.61 kB / 0.5389 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.3668, allocations: 26.98 kB / 0.5389 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.3674, allocations: 310.3 kB / 0.5392 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3677, allocations: 0.712 MB / 0.5399 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.915e-05/0.3678, allocations: 34.58 kB / 0.5399 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.3679, allocations: 22.92 kB / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3679, allocations: 0 / 0.5399 GB, free: 6.504 MB / 398.1 MB Notification: Performance of Templates: time 0.006187/0.3741, allocations: 1.637 MB / 0.5415 GB, free: 5.668 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches