Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 207.4 kB / 17.99 MB, free: 3.801 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 226.7 MB / 245.5 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009438/0.0009439, allocations: 99.33 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3363/0.3363, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001063/0.001063, allocations: 64.19 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3056, allocations: 62.01 MB / 0.5152 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002812/0.3085, allocations: 1.728 MB / 0.5168 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008216/0.3093, allocations: 0.555 MB / 0.5174 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.3094, allocations: 2.844 kB / 0.5174 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.3097, allocations: 62.61 kB / 0.5174 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.3099, allocations: 88.55 kB / 0.5175 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.3102, allocations: 120.6 kB / 0.5176 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3103, allocations: 85.98 kB / 0.5177 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.3104, allocations: 17.02 kB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.47e-05/0.3105, allocations: 41.47 kB / 0.5178 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.3106, allocations: 47.69 kB / 0.5178 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3106, allocations: 2.5 kB / 0.5178 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.963e-05/0.3107, allocations: 54.08 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.651e-05/0.3108, allocations: 23.91 kB / 0.5179 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.3108, allocations: 36.25 kB / 0.5179 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.311, allocations: 113.4 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.311, allocations: 0 / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.311, allocations: 3.938 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.311, allocations: 0 / 0.518 GB, free: 35.79 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005123/0.3115, allocations: 414.7 kB / 0.5184 GB, free: 35.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3116, allocations: 8.219 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.3116, allocations: 14.44 kB / 0.5185 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.3118, allocations: 203.1 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3118, allocations: 7.312 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.3119, allocations: 3.312 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3121, allocations: 70.05 kB / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3121, allocations: 0 / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3121, allocations: 0 / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3121, allocations: 0 / 0.5187 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.3122, allocations: 45.5 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.3126, allocations: 313.4 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3128, allocations: 54.22 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.867e-05/0.3129, allocations: 27.94 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.313, allocations: 4 kB / 0.5192 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.313, allocations: 37.41 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.313, allocations: 0 / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001312/0.3143, allocations: 385.4 kB / 0.5196 GB, free: 34.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3143, allocations: 62.12 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3145, allocations: 217.2 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3145, allocations: 25.7 kB / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.3146, allocations: 112.9 kB / 0.52 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3146, allocations: 37.62 kB / 0.52 GB, free: 34.22 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.3147, allocations: 22.34 kB / 0.52 GB, free: 34.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.057e-05/0.3147, allocations: 325.1 kB / 0.5203 GB, free: 33.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.3149, allocations: 46.7 kB / 0.5204 GB, free: 33.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.996e-05/0.315, allocations: 46.23 kB / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.3152, allocations: 94.08 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3152, allocations: 0 / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002658/0.3155, allocations: 149.1 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3155, allocations: 3.062 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3155, allocations: 0 / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.092e-05/0.3155, allocations: 2.875 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.3157, allocations: 34.8 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3157, allocations: 0 / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.594e-05/0.3157, allocations: 9.062 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3158, allocations: 2.594 kB / 0.5207 GB, free: 33.75 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 (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 8.742e-05/0.3158, allocations: 136.5 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.3159, allocations: 15.25 kB / 0.5208 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.3162, allocations: 165.4 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3163, allocations: 3.938 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3163, allocations: 0 / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3163, allocations: 3.047 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.3168, allocations: 475.8 kB / 0.5215 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3168, allocations: 2.844 kB / 0.5215 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.691e-05/0.3169, allocations: 27.53 kB / 0.5215 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3169, allocations: 96 / 0.5215 GB, free: 33.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3169, allocations: 10.91 kB / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3169, allocations: 0 / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3169, allocations: 6.781 kB / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.3175, allocations: 0.8602 MB / 0.5224 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.3175, allocations: 87.83 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3175, allocations: 2.844 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.3176, allocations: 12.95 kB / 0.5224 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.276e-05/0.3177, allocations: 13.56 kB / 0.5225 GB, free: 32.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3177, allocations: 2.906 kB / 0.5225 GB, free: 32.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3178, allocations: 167.9 kB / 0.5226 GB, free: 32.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3178, allocations: 0 / 0.5226 GB, free: 32.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.3182, allocations: 26.03 kB / 0.5226 GB, free: 32.13 MB / 378.7 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.0009439/0.3191, allocations: 460.8 kB / 0.5231 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.3194, allocations: 103.1 kB / 0.5232 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3194, allocations: 0 / 0.5232 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3196, allocations: 56.11 kB / 0.5232 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3199, allocations: 23.16 kB / 0.5233 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.3205, allocations: 476 kB / 0.5237 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.3206, allocations: 0.713 MB / 0.5244 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.1e-05/0.3207, allocations: 20.05 kB / 0.5244 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.3207, allocations: 17.5 kB / 0.5244 GB, free: 30.76 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3207, allocations: 0 / 0.5244 GB, free: 30.76 MB / 378.7 MB Notification: Performance of Templates: time 0.003479/0.3242, allocations: 1.502 MB / 0.5259 GB, free: 30.58 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches