Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, 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.257/1.257, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009227/0.0009225, allocations: 106.4 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3592/0.3592, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.88 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3131, allocations: 62.01 MB / 0.5152 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002335/0.3154, allocations: 1.668 MB / 0.5168 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007133/0.3162, allocations: 0.5421 MB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.787e-05/0.3162, allocations: 0 / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.3165, allocations: 121 kB / 0.5174 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000188/0.3167, allocations: 117.5 kB / 0.5175 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.3169, allocations: 94.61 kB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.317, allocations: 89.28 kB / 0.5177 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.684e-05/0.3171, allocations: 30.25 kB / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.379e-05/0.3172, allocations: 41.3 kB / 0.5178 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.3173, allocations: 79.69 kB / 0.5179 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3173, allocations: 3.906 kB / 0.5179 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.3174, allocations: 46.12 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.3174, allocations: 29.39 kB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.99e-05/0.3175, allocations: 36.44 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3176, allocations: 115.9 kB / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3176, allocations: 3.938 kB / 0.5181 GB, free: 35.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.3176, allocations: 4 kB / 0.5181 GB, free: 35.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.3176, allocations: 0 / 0.5181 GB, free: 35.9 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.0003292/0.3179, allocations: 431.8 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.501e-05/0.318, allocations: 11.44 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.318, allocations: 14.5 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3181, allocations: 212.8 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.3182, allocations: 384 / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.3182, allocations: 7.312 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.3183, allocations: 58.98 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3183, allocations: 0 / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.3183, allocations: 7.938 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-06/0.3183, allocations: 0 / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.223e-05/0.3184, allocations: 27.55 kB / 0.5188 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.3187, allocations: 311.5 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.219e-05/0.3188, allocations: 51.44 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.3188, allocations: 20.83 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.3189, allocations: 0 / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.3189, allocations: 41.5 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3189, allocations: 0 / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007444/0.3196, allocations: 238 kB / 0.5195 GB, free: 34.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.3197, allocations: 51.41 kB / 0.5195 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.3199, allocations: 281.6 kB / 0.5198 GB, free: 34.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.3199, allocations: 29.7 kB / 0.5198 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.3199, allocations: 115.2 kB / 0.5199 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.3199, allocations: 25.81 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.32, allocations: 25.47 kB / 0.52 GB, free: 34.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.32, allocations: 327.2 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.3201, allocations: 30.62 kB / 0.5203 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.3202, allocations: 31.98 kB / 0.5203 GB, free: 33.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.3203, allocations: 80.41 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3204, allocations: 0 / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001812/0.3205, allocations: 118.9 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.3206, allocations: 5.906 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3206, allocations: 3.938 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.3206, allocations: 0 / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.3207, allocations: 18.91 kB / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.3207, allocations: 0 / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.3207, allocations: 14.88 kB / 0.5206 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-06/0.3207, allocations: 2.75 kB / 0.5206 GB, free: 33.87 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 6.819e-05/0.3208, allocations: 142 kB / 0.5207 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.3208, allocations: 13.06 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.3211, allocations: 131.5 kB / 0.5208 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3211, allocations: 2.531 kB / 0.5208 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3211, allocations: 0 / 0.5208 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3211, allocations: 3.938 kB / 0.5208 GB, free: 33.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.3215, allocations: 434.8 kB / 0.5213 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3215, allocations: 6.844 kB / 0.5213 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.3216, allocations: 18.77 kB / 0.5213 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3216, allocations: 6.812 kB / 0.5213 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.3216, allocations: 0 / 0.5213 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3216, allocations: 2.938 kB / 0.5213 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3216, allocations: 0 / 0.5213 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.322, allocations: 0.8179 MB / 0.5221 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.3221, allocations: 91.33 kB / 0.5222 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.3221, allocations: 6.906 kB / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.3222, allocations: 10.75 kB / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.3222, allocations: 6.062 kB / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.3222, allocations: 2.969 kB / 0.5222 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.3223, allocations: 210.3 kB / 0.5224 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3223, allocations: 0 / 0.5224 GB, free: 32.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004329/0.3228, allocations: 26.28 kB / 0.5224 GB, free: 32.29 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.0008304/0.3236, allocations: 461.1 kB / 0.5229 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.3238, allocations: 78.52 kB / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3238, allocations: 0 / 0.5229 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.3239, allocations: 37.78 kB / 0.523 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3243, allocations: 26.88 kB / 0.523 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.3247, allocations: 467.4 kB / 0.5235 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.3249, allocations: 0.7236 MB / 0.5242 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.364e-05/0.3249, allocations: 21.3 kB / 0.5242 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.325, allocations: 16 kB / 0.5242 GB, free: 30.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.325, allocations: 0 / 0.5242 GB, free: 30.95 MB / 378.7 MB Notification: Performance of Templates: time 0.003149/0.3281, allocations: 1.379 MB / 0.5255 GB, free: 30.79 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches