Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00196/0.00196, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2078/0.2078, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 72.11 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.317, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002795/0.3198, allocations: 1.682 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009455/0.3208, allocations: 0.5499 MB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.3209, allocations: 1.375 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.3211, allocations: 53.69 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.3214, allocations: 95.22 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.3217, allocations: 130.8 kB / 0.5341 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3219, allocations: 86.11 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.322, allocations: 16.48 kB / 0.5342 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.3221, allocations: 41.58 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.3222, allocations: 39.09 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3222, allocations: 4.125 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.3223, allocations: 56.97 kB / 0.5344 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.138e-05/0.3224, allocations: 18.8 kB / 0.5344 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.3224, allocations: 38.55 kB / 0.5344 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3226, allocations: 107.4 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3226, allocations: 5.375 kB / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3226, allocations: 0 / 0.5345 GB, free: 11.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3226, allocations: 0 / 0.5345 GB, free: 11.45 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.0005284/0.3232, allocations: 402.4 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3232, allocations: 13.77 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.3233, allocations: 13.28 kB / 0.5349 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.3235, allocations: 206.8 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.3235, allocations: 2.5 kB / 0.5351 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3235, allocations: 10.92 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3237, allocations: 62.98 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3237, allocations: 1.094 kB / 0.5352 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.3237, allocations: 4 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3238, allocations: 1.938 kB / 0.5352 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3239, allocations: 38.22 kB / 0.5352 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.3243, allocations: 300.2 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.3245, allocations: 63.8 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.3246, allocations: 24.88 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3246, allocations: 5.219 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3247, allocations: 34.56 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3247, allocations: 1.281 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001403/0.3261, allocations: 400.2 kB / 0.536 GB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3261, allocations: 52.62 kB / 0.5361 GB, free: 10.03 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3263, allocations: 173.7 kB / 0.5363 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.3263, allocations: 30.77 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.3264, allocations: 101.4 kB / 0.5364 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.3264, allocations: 39.36 kB / 0.5364 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.3265, allocations: 21.72 kB / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3266, allocations: 321.6 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.3268, allocations: 47.64 kB / 0.5368 GB, free: 9.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3269, allocations: 43.56 kB / 0.5368 GB, free: 9.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3271, allocations: 104.4 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3271, allocations: 0 / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000319/0.3275, allocations: 141.8 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3275, allocations: 5.406 kB / 0.5371 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3275, allocations: 3.938 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3275, allocations: 1.312 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.3277, allocations: 32.86 kB / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3277, allocations: 0 / 0.5371 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.3277, allocations: 18.27 kB / 0.5371 GB, free: 9.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3278, allocations: 2.188 kB / 0.5371 GB, free: 9.18 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.0001236/0.3279, allocations: 126.5 kB / 0.5373 GB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.3279, allocations: 9.281 kB / 0.5373 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.3283, allocations: 174 kB / 0.5374 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3283, allocations: 1.062 kB / 0.5374 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3283, allocations: 3.938 kB / 0.5374 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3283, allocations: 1.094 kB / 0.5374 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.329, allocations: 474.8 kB / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.329, allocations: 0 / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3291, allocations: 32.66 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3291, allocations: 1.312 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3291, allocations: 2.156 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3291, allocations: 0.7188 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3291, allocations: 0.9375 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.3295, allocations: 259 kB / 0.5382 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.3295, allocations: 88.11 kB / 0.5383 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3296, allocations: 2.281 kB / 0.5383 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.3297, allocations: 18.42 kB / 0.5383 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/0.3297, allocations: 12.2 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3297, allocations: 3.219 kB / 0.5383 GB, free: 8.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.457e-05/0.3298, allocations: 136.9 kB / 0.5384 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3299, allocations: 0 / 0.5384 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3301, allocations: 25.64 kB / 0.5384 GB, free: 8.055 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.001054/0.3312, allocations: 454.2 kB / 0.5389 GB, free: 7.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003294/0.3315, allocations: 107.1 kB / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3315, allocations: 0 / 0.539 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.3317, allocations: 66.67 kB / 0.539 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3321, allocations: 20.06 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.3326, allocations: 293.8 kB / 0.5393 GB, free: 7.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.3329, allocations: 0.7097 MB / 0.54 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.333, allocations: 16.03 kB / 0.54 GB, free: 6.773 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.333, allocations: 0 / 0.54 GB, free: 6.773 MB / 398.1 MB Notification: Performance of Templates: time 0.003489/0.3365, allocations: 1.907 MB / 0.5419 GB, free: 5.785 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches