Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.216/0.216, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002271, allocations: 79.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3238, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003169/0.327, allocations: 1.653 MB / 0.5333 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3281, allocations: 0.5479 MB / 0.5338 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.3282, allocations: 0 / 0.5338 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.3287, allocations: 453.3 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.3293, allocations: 300.3 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.3297, allocations: 129.7 kB / 0.5347 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.33, allocations: 162.2 kB / 0.5348 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3301, allocations: 23.77 kB / 0.5348 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.3303, allocations: 110.5 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.3306, allocations: 210.8 kB / 0.5352 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.604e-05/0.3307, allocations: 2.438 kB / 0.5352 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/0.3308, allocations: 34.06 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.3309, allocations: 85.27 kB / 0.5353 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.331, allocations: 104 kB / 0.5354 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.3313, allocations: 264.4 kB / 0.5356 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3313, allocations: 0 / 0.5356 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3313, allocations: 0 / 0.5356 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3313, allocations: 1.344 kB / 0.5356 GB, free: 10.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007396/0.3321, allocations: 0.639 MB / 0.5362 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3321, allocations: 9.375 kB / 0.5363 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.3322, allocations: 42 kB / 0.5363 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.3324, allocations: 302.9 kB / 0.5366 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3325, allocations: 1.438 kB / 0.5366 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.3325, allocations: 2.5 kB / 0.5366 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3327, allocations: 58.25 kB / 0.5366 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3327, allocations: 0 / 0.5366 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3327, allocations: 1.312 kB / 0.5366 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3328, allocations: 0 / 0.5366 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.3329, allocations: 27.34 kB / 0.5367 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.3333, allocations: 385.5 kB / 0.537 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3336, allocations: 47.94 kB / 0.5371 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.3337, allocations: 15.72 kB / 0.5371 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.3337, allocations: 1.094 kB / 0.5371 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3337, allocations: 31.81 kB / 0.5371 GB, free: 9.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.3337, allocations: 4 kB / 0.5371 GB, free: 9.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006263/0.3344, allocations: 227.4 kB / 0.5374 GB, free: 9.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.3344, allocations: 52.69 kB / 0.5374 GB, free: 9.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000951/0.3354, allocations: 0.868 MB / 0.5382 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3354, allocations: 25.7 kB / 0.5383 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.3357, allocations: 229.4 kB / 0.5385 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.3357, allocations: 22.86 kB / 0.5385 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.3357, allocations: 17.44 kB / 0.5385 GB, free: 8.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3359, allocations: 367.6 kB / 0.5389 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.336, allocations: 14.48 kB / 0.5389 GB, free: 8.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.336, allocations: 19.73 kB / 0.5389 GB, free: 8.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.3362, allocations: 56.92 kB / 0.539 GB, free: 8.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3362, allocations: 4 kB / 0.539 GB, free: 8.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000234/0.3364, allocations: 111.8 kB / 0.5391 GB, free: 8.105 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3365, allocations: 4.719 kB / 0.5391 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3365, allocations: 1.156 kB / 0.5391 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3365, allocations: 0 / 0.5391 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.3366, allocations: 13.45 kB / 0.5391 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3366, allocations: 1.156 kB / 0.5391 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.118e-05/0.3367, allocations: 11 kB / 0.5391 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3367, allocations: 6.031 kB / 0.5391 GB, free: 8.09 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 (5): * Single equations (assignments): 5 * 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.0001939/0.3369, allocations: 212.9 kB / 0.5393 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.337, allocations: 38.88 kB / 0.5394 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.3373, allocations: 130.8 kB / 0.5395 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3373, allocations: 0.9375 kB / 0.5395 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3373, allocations: 3.984 kB / 0.5395 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3373, allocations: 5.031 kB / 0.5395 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.338, allocations: 462.7 kB / 0.5399 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.338, allocations: 3.938 kB / 0.5399 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.338, allocations: 13.73 kB / 0.5399 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.338, allocations: 0 / 0.5399 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3381, allocations: 5.531 kB / 0.54 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3381, allocations: 0 / 0.54 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3381, allocations: 1.781 kB / 0.54 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.3383, allocations: 217.6 kB / 0.5402 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.3384, allocations: 114.4 kB / 0.5403 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.3385, allocations: 5.062 kB / 0.5403 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.3386, allocations: 2.281 kB / 0.5403 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3386, allocations: 9.984 kB / 0.5403 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3386, allocations: 2.156 kB / 0.5403 GB, free: 7.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006966/0.3393, allocations: 0.6529 MB / 0.5409 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3393, allocations: 4 kB / 0.5409 GB, free: 6.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.3396, allocations: 18.34 kB / 0.5409 GB, free: 6.773 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009568/0.3406, allocations: 397 kB / 0.5413 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.3408, allocations: 51.45 kB / 0.5414 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3408, allocations: 1.25 kB / 0.5414 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.836e-05/0.3409, allocations: 30.73 kB / 0.5414 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.3413, allocations: 30.11 kB / 0.5414 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.3427, allocations: 0.8192 MB / 0.5422 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3431, allocations: 0.8187 MB / 0.543 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.3432, allocations: 16.92 kB / 0.543 GB, free: 5.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3432, allocations: 0 / 0.543 GB, free: 5.289 MB / 398.1 MB Notification: Performance of Templates: time 0.007044/0.3502, allocations: 3.727 MB / 0.5467 GB, free: 2.062 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches