Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001155/0.001155, 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.326/1.326, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 110.2 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3399/0.3399, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 59.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3147, allocations: 62.02 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002585/0.3174, allocations: 1.673 MB / 0.5168 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.3182, allocations: 0.5593 MB / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.3183, allocations: 0 / 0.5173 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.3188, allocations: 453.2 kB / 0.5178 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.3191, allocations: 281.7 kB / 0.518 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.3195, allocations: 148.7 kB / 0.5182 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.3197, allocations: 166.2 kB / 0.5183 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3198, allocations: 17.34 kB / 0.5183 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.3199, allocations: 109.6 kB / 0.5185 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.3201, allocations: 201 kB / 0.5186 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3201, allocations: 2.75 kB / 0.5186 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.978e-05/0.3201, allocations: 29.12 kB / 0.5187 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.3202, allocations: 89.73 kB / 0.5188 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.3203, allocations: 102.1 kB / 0.5189 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.3205, allocations: 238.1 kB / 0.5191 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3205, allocations: 0 / 0.5191 GB, free: 35.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3205, allocations: 0 / 0.5191 GB, free: 35.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3205, allocations: 0 / 0.5191 GB, free: 35.85 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005563/0.3211, allocations: 0.6391 MB / 0.5197 GB, free: 35.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.3211, allocations: 8.312 kB / 0.5197 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.3212, allocations: 40.28 kB / 0.5198 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3214, allocations: 302.4 kB / 0.52 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3215, allocations: 7.203 kB / 0.5201 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.3215, allocations: 384 / 0.5201 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.3216, allocations: 62.59 kB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3216, allocations: 0 / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3217, allocations: 2.906 kB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3217, allocations: 0 / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3218, allocations: 38.52 kB / 0.5202 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.3222, allocations: 396.1 kB / 0.5205 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.3224, allocations: 45.22 kB / 0.5206 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.3224, allocations: 23.36 kB / 0.5206 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3225, allocations: 2.594 kB / 0.5206 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3225, allocations: 41.89 kB / 0.5206 GB, free: 34.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.3225, allocations: 0 / 0.5206 GB, free: 34.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002946/0.3228, allocations: 122 kB / 0.5208 GB, free: 34.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.3228, allocations: 54.31 kB / 0.5208 GB, free: 34.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.3234, allocations: 0.8681 MB / 0.5217 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-06/0.3234, allocations: 25.7 kB / 0.5217 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3236, allocations: 217.2 kB / 0.5219 GB, free: 33.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.3236, allocations: 9.922 kB / 0.5219 GB, free: 33.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.3236, allocations: 17.19 kB / 0.5219 GB, free: 33.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.083e-05/0.3237, allocations: 362.5 kB / 0.5223 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.156e-05/0.3238, allocations: 19.89 kB / 0.5223 GB, free: 33.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.3238, allocations: 18.83 kB / 0.5223 GB, free: 33.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.3239, allocations: 45.67 kB / 0.5223 GB, free: 33.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3239, allocations: 0 / 0.5223 GB, free: 33.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001566/0.3241, allocations: 109.8 kB / 0.5224 GB, free: 33.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.3241, allocations: 2.812 kB / 0.5224 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3241, allocations: 0 / 0.5224 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.3241, allocations: 6.781 kB / 0.5224 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.181e-05/0.3242, allocations: 9 kB / 0.5225 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3242, allocations: 3.938 kB / 0.5225 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.3243, allocations: 10.02 kB / 0.5225 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.3243, allocations: 6.688 kB / 0.5225 GB, free: 33.39 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 (3): * Single equations (assignments): 3 * 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.0001196/0.3244, allocations: 211.7 kB / 0.5227 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.3245, allocations: 40.66 kB / 0.5227 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.3247, allocations: 126 kB / 0.5228 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3247, allocations: 3.094 kB / 0.5228 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3247, allocations: 0 / 0.5228 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3247, allocations: 48 / 0.5228 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.3249, allocations: 299.7 kB / 0.5231 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3249, allocations: 0 / 0.5231 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.325, allocations: 12.62 kB / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.325, allocations: 2.438 kB / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.325, allocations: 0 / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.325, allocations: 0 / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.325, allocations: 0 / 0.5231 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.3254, allocations: 0.8633 MB / 0.524 GB, free: 32.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.3254, allocations: 111.3 kB / 0.5241 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3255, allocations: 0 / 0.5241 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.3255, allocations: 6.531 kB / 0.5241 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.3256, allocations: 6.359 kB / 0.5241 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.3256, allocations: 0 / 0.5241 GB, free: 32.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004736/0.3261, allocations: 0.6531 MB / 0.5247 GB, free: 31.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3261, allocations: 4 kB / 0.5247 GB, free: 31.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000318/0.3264, allocations: 19.75 kB / 0.5248 GB, free: 31.77 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 (3): * Single equations (assignments): 3 * 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.0006673/0.3271, allocations: 350.8 kB / 0.5251 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.3272, allocations: 44.86 kB / 0.5251 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3273, allocations: 0 / 0.5251 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.3273, allocations: 30.28 kB / 0.5252 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3277, allocations: 26.22 kB / 0.5252 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008169/0.3285, allocations: 0.9618 MB / 0.5261 GB, free: 31.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002078/0.3287, allocations: 0.8275 MB / 0.5269 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.745e-05/0.3288, allocations: 9 kB / 0.527 GB, free: 30.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.3288, allocations: 13.16 kB / 0.527 GB, free: 30.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3288, allocations: 0 / 0.527 GB, free: 30.29 MB / 378.7 MB Notification: Performance of Templates: time 0.003749/0.3326, allocations: 1.312 MB / 0.5282 GB, free: 30.12 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches