Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 109.1 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, 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.2041/0.2041, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 76.09 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3251, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.0028/0.3279, allocations: 1.677 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.329, allocations: 0.5784 MB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.3291, allocations: 1.312 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.3296, allocations: 460.8 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.33, allocations: 284.3 kB / 0.5346 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.3305, allocations: 182.5 kB / 0.5348 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.3307, allocations: 178.5 kB / 0.5349 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.3308, allocations: 23.59 kB / 0.535 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.331, allocations: 119.6 kB / 0.5351 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.3312, allocations: 210.8 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3312, allocations: 4.062 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3314, allocations: 52.52 kB / 0.5353 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.3315, allocations: 87.42 kB / 0.5354 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.3315, allocations: 108.2 kB / 0.5355 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.3319, allocations: 279.5 kB / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3319, allocations: 1.469 kB / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3319, allocations: 0 / 0.5358 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.3319, allocations: 0 / 0.5358 GB, free: 10.84 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.0006839/0.3326, allocations: 0.6496 MB / 0.5364 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.3326, allocations: 8.906 kB / 0.5364 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.3327, allocations: 47.03 kB / 0.5365 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.333, allocations: 300 kB / 0.5368 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.333, allocations: 2.562 kB / 0.5368 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.333, allocations: 2.531 kB / 0.5368 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3332, allocations: 74.64 kB / 0.5368 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3332, allocations: 0 / 0.5368 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3332, allocations: 1.156 kB / 0.5368 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3332, allocations: 1.031 kB / 0.5368 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3333, allocations: 34.75 kB / 0.5369 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.3339, allocations: 412.4 kB / 0.5373 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.334, allocations: 44.7 kB / 0.5373 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.334, allocations: 24.66 kB / 0.5373 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3341, allocations: 1.094 kB / 0.5373 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3341, allocations: 35.69 kB / 0.5374 GB, free: 9.371 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3341, allocations: 0 / 0.5374 GB, free: 9.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009782/0.3351, allocations: 327.8 kB / 0.5377 GB, free: 9.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.3351, allocations: 56.44 kB / 0.5377 GB, free: 9.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008259/0.336, allocations: 0.8714 MB / 0.5386 GB, free: 8.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.336, allocations: 25.7 kB / 0.5386 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3362, allocations: 221.6 kB / 0.5388 GB, free: 8.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.3362, allocations: 31.55 kB / 0.5388 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.3362, allocations: 20.75 kB / 0.5389 GB, free: 8.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3364, allocations: 368.2 kB / 0.5392 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-05/0.3365, allocations: 27.94 kB / 0.5392 GB, free: 8.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.033e-05/0.3366, allocations: 33.8 kB / 0.5393 GB, free: 8.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3368, allocations: 74.2 kB / 0.5393 GB, free: 8.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3368, allocations: 1.094 kB / 0.5393 GB, free: 8.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002535/0.337, allocations: 147.6 kB / 0.5395 GB, free: 7.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3371, allocations: 7.938 kB / 0.5395 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3371, allocations: 0 / 0.5395 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3371, allocations: 0 / 0.5395 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3372, allocations: 22.83 kB / 0.5395 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.3372, allocations: 7.938 kB / 0.5395 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.3373, allocations: 7.25 kB / 0.5395 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3373, allocations: 10.14 kB / 0.5395 GB, free: 7.887 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 (8): * Single equations (assignments): 8 * 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.0001809/0.3375, allocations: 211.9 kB / 0.5397 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.3375, allocations: 38.56 kB / 0.5398 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.3379, allocations: 182.8 kB / 0.54 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3379, allocations: 1.094 kB / 0.54 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3379, allocations: 3.938 kB / 0.54 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3379, allocations: 1.125 kB / 0.54 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.3386, allocations: 0.5153 MB / 0.5405 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3386, allocations: 3.938 kB / 0.5405 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.3387, allocations: 18.14 kB / 0.5405 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3387, allocations: 9.125 kB / 0.5405 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3387, allocations: 2.375 kB / 0.5405 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3387, allocations: 0 / 0.5405 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3387, allocations: 5.156 kB / 0.5405 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.339, allocations: 247.5 kB / 0.5407 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.952e-05/0.3391, allocations: 114.6 kB / 0.5408 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.3391, allocations: 9.469 kB / 0.5409 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.3392, allocations: 2.938 kB / 0.5409 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.3393, allocations: 6.859 kB / 0.5409 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.3393, allocations: 2.875 kB / 0.5409 GB, free: 6.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006107/0.3399, allocations: 0.6579 MB / 0.5415 GB, free: 6.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3399, allocations: 0 / 0.5415 GB, free: 6.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000282/0.3402, allocations: 31 kB / 0.5415 GB, free: 6.473 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001022/0.3412, allocations: 458.7 kB / 0.542 GB, free: 6.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.3415, allocations: 76.88 kB / 0.5421 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3415, allocations: 0 / 0.5421 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3416, allocations: 49 kB / 0.5421 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.342, allocations: 35.31 kB / 0.5421 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3432, allocations: 0.8539 MB / 0.543 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.3436, allocations: 0.8317 MB / 0.5438 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/0.3436, allocations: 14.91 kB / 0.5438 GB, free: 4.914 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3436, allocations: 4 kB / 0.5438 GB, free: 4.91 MB / 398.1 MB Notification: Performance of Templates: time 0.006845/0.3505, allocations: 4.054 MB / 0.5478 GB, free: 1.055 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches