Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009647/0.0009647, allocations: 99.91 kB / 296.7 MB, free: 6.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3815/0.3815, allocations: 44.83 MB / 392.7 MB, free: 34.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 63.89 kB / 465.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.313, allocations: 62.01 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003193/0.3163, allocations: 1.711 MB / 0.5168 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000952/0.3173, allocations: 0.5424 MB / 0.5174 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.3173, allocations: 4 kB / 0.5174 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.3179, allocations: 452.1 kB / 0.5178 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.3182, allocations: 276.1 kB / 0.5181 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.3185, allocations: 113.8 kB / 0.5182 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.3187, allocations: 166.9 kB / 0.5183 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3189, allocations: 16.33 kB / 0.5183 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.319, allocations: 99.08 kB / 0.5184 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.3192, allocations: 208.1 kB / 0.5186 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3192, allocations: 0 / 0.5186 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-05/0.3193, allocations: 37.11 kB / 0.5187 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.3195, allocations: 82.58 kB / 0.5187 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.3196, allocations: 107.2 kB / 0.5188 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3198, allocations: 242.2 kB / 0.5191 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3198, allocations: 0 / 0.5191 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3198, allocations: 3.938 kB / 0.5191 GB, free: 35.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3199, allocations: 0 / 0.5191 GB, free: 35.8 MB / 378.7 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.0006801/0.3205, allocations: 0.6483 MB / 0.5197 GB, free: 35.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3206, allocations: 11.69 kB / 0.5197 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.3207, allocations: 41.22 kB / 0.5198 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.3209, allocations: 287.4 kB / 0.52 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3209, allocations: 7.406 kB / 0.52 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.321, allocations: 384 / 0.52 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.3211, allocations: 62.88 kB / 0.5201 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3212, allocations: 0 / 0.5201 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3212, allocations: 4 kB / 0.5201 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3212, allocations: 0 / 0.5201 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.741e-05/0.3213, allocations: 26.94 kB / 0.5201 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.3217, allocations: 381.8 kB / 0.5205 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.3219, allocations: 46.55 kB / 0.5205 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.322, allocations: 21.52 kB / 0.5206 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.322, allocations: 0 / 0.5206 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.322, allocations: 33.89 kB / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.322, allocations: 0 / 0.5206 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005662/0.3226, allocations: 224.1 kB / 0.5208 GB, free: 34.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3227, allocations: 55.41 kB / 0.5209 GB, free: 34.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.3234, allocations: 0.8634 MB / 0.5217 GB, free: 33.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3234, allocations: 25.7 kB / 0.5217 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3235, allocations: 223 kB / 0.5219 GB, free: 33.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.3236, allocations: 18.16 kB / 0.522 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.3236, allocations: 19.61 kB / 0.522 GB, free: 33.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.047e-05/0.3237, allocations: 361.4 kB / 0.5223 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.3238, allocations: 19.08 kB / 0.5223 GB, free: 33.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.398e-05/0.3238, allocations: 22.17 kB / 0.5224 GB, free: 33.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.324, allocations: 49.91 kB / 0.5224 GB, free: 33.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.324, allocations: 0 / 0.5224 GB, free: 33.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001768/0.3242, allocations: 112.2 kB / 0.5225 GB, free: 33.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3242, allocations: 2.812 kB / 0.5225 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.3242, allocations: 3.938 kB / 0.5225 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3242, allocations: 7 kB / 0.5225 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.3243, allocations: 15.16 kB / 0.5225 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3243, allocations: 0 / 0.5225 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.3243, allocations: 9.594 kB / 0.5226 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3243, allocations: 2.594 kB / 0.5226 GB, free: 33.27 MB / 378.7 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.0001422/0.3245, allocations: 218.9 kB / 0.5228 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.3245, allocations: 40.75 kB / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.3248, allocations: 134.8 kB / 0.5229 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3248, allocations: 6.25 kB / 0.5229 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3248, allocations: 288 / 0.5229 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3248, allocations: 7.125 kB / 0.5229 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.3253, allocations: 452.4 kB / 0.5234 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3253, allocations: 3.422 kB / 0.5234 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.3253, allocations: 13.77 kB / 0.5234 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3254, allocations: 4 kB / 0.5234 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3254, allocations: 3.938 kB / 0.5234 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3254, allocations: 2.938 kB / 0.5234 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3254, allocations: 3.422 kB / 0.5234 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.3258, allocations: 0.8671 MB / 0.5243 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.3259, allocations: 105 kB / 0.5244 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3259, allocations: 2.625 kB / 0.5244 GB, free: 31.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.326, allocations: 9.812 kB / 0.5244 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.326, allocations: 5.969 kB / 0.5244 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3261, allocations: 4 kB / 0.5244 GB, free: 31.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000485/0.3265, allocations: 0.6515 MB / 0.525 GB, free: 31.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3266, allocations: 0 / 0.525 GB, free: 31.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.3269, allocations: 22.78 kB / 0.525 GB, free: 31.51 MB / 378.7 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.0009418/0.3278, allocations: 406 kB / 0.5254 GB, free: 31.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.328, allocations: 50.38 kB / 0.5255 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.328, allocations: 0 / 0.5255 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.774e-05/0.3281, allocations: 28.2 kB / 0.5255 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3285, allocations: 23.05 kB / 0.5255 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.3295, allocations: 0.9793 MB / 0.5265 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3298, allocations: 0.8298 MB / 0.5273 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.474e-05/0.3299, allocations: 5.844 kB / 0.5273 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.3299, allocations: 20.3 kB / 0.5273 GB, free: 29.99 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3299, allocations: 4 kB / 0.5273 GB, free: 29.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004196/0.3341, allocations: 1.449 MB / 0.5287 GB, free: 29.79 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches