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/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.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/Complex trunk/package.mo): time 0.00116/0.00116, 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.353/1.353, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 104.7 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3565/0.3565, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3146, allocations: 62.02 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002716/0.3174, allocations: 1.711 MB / 0.5168 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.3183, allocations: 0.5778 MB / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.3183, allocations: 0 / 0.5174 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.3188, allocations: 460.7 kB / 0.5178 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.3191, allocations: 274.7 kB / 0.5181 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.3194, allocations: 160.3 kB / 0.5182 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.3196, allocations: 178.6 kB / 0.5184 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3197, allocations: 19.67 kB / 0.5184 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.3198, allocations: 108.3 kB / 0.5185 GB, free: 36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.32, allocations: 213.1 kB / 0.5187 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3201, allocations: 6.875 kB / 0.5188 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.381e-05/0.3202, allocations: 40.55 kB / 0.5188 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.3203, allocations: 89.45 kB / 0.5189 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.3203, allocations: 100.6 kB / 0.519 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3206, allocations: 269.8 kB / 0.5192 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3206, allocations: 0 / 0.5192 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3206, allocations: 0 / 0.5192 GB, free: 35.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.3206, allocations: 0 / 0.5192 GB, free: 35.73 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.0006266/0.3212, allocations: 0.6465 MB / 0.5199 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3213, allocations: 18.89 kB / 0.5199 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.3213, allocations: 41.59 kB / 0.5199 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.3216, allocations: 298.5 kB / 0.5202 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3216, allocations: 7.219 kB / 0.5202 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3216, allocations: 3.25 kB / 0.5202 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3218, allocations: 70.02 kB / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3218, allocations: 0 / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3218, allocations: 2.875 kB / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3218, allocations: 0 / 0.5203 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.322, allocations: 42.02 kB / 0.5203 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.3224, allocations: 407.1 kB / 0.5207 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.3225, allocations: 50.95 kB / 0.5208 GB, free: 34.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.3226, allocations: 20.39 kB / 0.5208 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3226, allocations: 7.281 kB / 0.5208 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.3227, allocations: 30.56 kB / 0.5208 GB, free: 34.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3227, allocations: 2.938 kB / 0.5208 GB, free: 34.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000876/0.3235, allocations: 307.7 kB / 0.5211 GB, free: 34.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.3236, allocations: 59.34 kB / 0.5212 GB, free: 34.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.3242, allocations: 0.8714 MB / 0.522 GB, free: 33.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.3242, allocations: 25.7 kB / 0.522 GB, free: 33.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3243, allocations: 227.1 kB / 0.5223 GB, free: 33.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.3244, allocations: 28.27 kB / 0.5223 GB, free: 33.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.3244, allocations: 19.22 kB / 0.5223 GB, free: 33.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.3245, allocations: 358.1 kB / 0.5226 GB, free: 33.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.3246, allocations: 39.34 kB / 0.5227 GB, free: 33.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.3246, allocations: 34.02 kB / 0.5227 GB, free: 33.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3248, allocations: 83.41 kB / 0.5228 GB, free: 33.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3248, allocations: 0 / 0.5228 GB, free: 33.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002006/0.325, allocations: 144.5 kB / 0.5229 GB, free: 33.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.325, allocations: 5 kB / 0.5229 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.325, allocations: 0 / 0.5229 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3251, allocations: 4 kB / 0.5229 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.342e-05/0.3252, allocations: 20.7 kB / 0.523 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3252, allocations: 6.531 kB / 0.523 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.3252, allocations: 2.594 kB / 0.523 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3252, allocations: 6.094 kB / 0.523 GB, free: 33.11 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 (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.0001728/0.3254, allocations: 215.6 kB / 0.5232 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.3255, allocations: 44.38 kB / 0.5232 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.3258, allocations: 166.9 kB / 0.5234 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3258, allocations: 2.812 kB / 0.5234 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3258, allocations: 3.938 kB / 0.5234 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3258, allocations: 0 / 0.5234 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/0.3264, allocations: 0.5219 MB / 0.5239 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3264, allocations: 6.5 kB / 0.5239 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.3265, allocations: 28.16 kB / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3265, allocations: 0 / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3265, allocations: 6.406 kB / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3265, allocations: 0 / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3265, allocations: 2.625 kB / 0.5239 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.3271, allocations: 0.9215 MB / 0.5248 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.3272, allocations: 109.3 kB / 0.5249 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.3272, allocations: 3.156 kB / 0.5249 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.3273, allocations: 5.984 kB / 0.525 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3273, allocations: 6.016 kB / 0.525 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.3274, allocations: 11.16 kB / 0.525 GB, free: 31.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000564/0.3279, allocations: 0.656 MB / 0.5256 GB, free: 31.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3279, allocations: 0 / 0.5256 GB, free: 31.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000355/0.3283, allocations: 30.28 kB / 0.5256 GB, free: 31.26 MB / 378.7 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.000989/0.3293, allocations: 454.3 kB / 0.5261 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3295, allocations: 73.33 kB / 0.5261 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3295, allocations: 0 / 0.5261 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.3296, allocations: 48.88 kB / 0.5262 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.33, allocations: 26.11 kB / 0.5262 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.3312, allocations: 1.037 MB / 0.5272 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3315, allocations: 0.842 MB / 0.528 GB, free: 29.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.677e-05/0.3316, allocations: 20.83 kB / 0.5281 GB, free: 29.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.3317, allocations: 12.69 kB / 0.5281 GB, free: 29.66 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3317, allocations: 0 / 0.5281 GB, free: 29.66 MB / 378.7 MB Notification: Performance of Templates: time 0.00466/0.3363, allocations: 1.735 MB / 0.5298 GB, free: 29.45 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches