Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, 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.338/1.338, 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.0009033/0.0009031, allocations: 106 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3591/0.3591, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3203, allocations: 62.01 MB / 0.5151 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002703/0.323, allocations: 1.74 MB / 0.5168 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008872/0.3239, allocations: 0.5701 MB / 0.5174 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.324, allocations: 0 / 0.5174 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.3243, allocations: 53.8 kB / 0.5175 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.3245, allocations: 69.44 kB / 0.5175 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.3249, allocations: 173.9 kB / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3251, allocations: 77.41 kB / 0.5178 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.3252, allocations: 26.7 kB / 0.5178 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.3252, allocations: 36.92 kB / 0.5178 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.661e-05/0.3253, allocations: 35.14 kB / 0.5179 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3253, allocations: 2.906 kB / 0.5179 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.3254, allocations: 44.95 kB / 0.5179 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.3255, allocations: 21.55 kB / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.3256, allocations: 40.62 kB / 0.518 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.3257, allocations: 109.9 kB / 0.5181 GB, free: 35.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3257, allocations: 0 / 0.5181 GB, free: 35.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.3257, allocations: 0 / 0.5181 GB, free: 35.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3257, allocations: 0 / 0.5181 GB, free: 35.87 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.0004075/0.3261, allocations: 410.6 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3262, allocations: 8.625 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3262, allocations: 10.62 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3264, allocations: 195.2 kB / 0.5187 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3264, allocations: 15.27 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3264, allocations: 3.281 kB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3266, allocations: 71.77 kB / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3266, allocations: 0 / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.3266, allocations: 4 kB / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3266, allocations: 0 / 0.5187 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.3268, allocations: 42.44 kB / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.3271, allocations: 325.5 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.3274, allocations: 57.66 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.3275, allocations: 34.28 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3275, allocations: 4 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.3275, allocations: 37.44 kB / 0.5192 GB, free: 34.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.3275, allocations: 96 / 0.5192 GB, free: 34.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001259/0.3288, allocations: 416.1 kB / 0.5196 GB, free: 34.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.3288, allocations: 59.34 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3289, allocations: 176.8 kB / 0.5198 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.329, allocations: 25.7 kB / 0.5199 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.329, allocations: 105.1 kB / 0.52 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.329, allocations: 33.69 kB / 0.52 GB, free: 34.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3291, allocations: 26.25 kB / 0.52 GB, free: 34.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.3292, allocations: 321.1 kB / 0.5203 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3293, allocations: 59.45 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3294, allocations: 53.52 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.3297, allocations: 123.5 kB / 0.5206 GB, free: 33.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3297, allocations: 3.938 kB / 0.5206 GB, free: 33.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002808/0.3299, allocations: 162.8 kB / 0.5207 GB, free: 33.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.33, allocations: 2.688 kB / 0.5207 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.33, allocations: 0 / 0.5207 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.33, allocations: 2.812 kB / 0.5207 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3301, allocations: 28.94 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3301, allocations: 2.844 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.3302, allocations: 13.16 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3302, allocations: 2.906 kB / 0.5208 GB, free: 33.82 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 7.799e-05/0.3303, allocations: 134.6 kB / 0.5209 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.3303, allocations: 17.66 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.3307, allocations: 175.8 kB / 0.5211 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.3307, allocations: 6.75 kB / 0.5211 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3307, allocations: 3.469 kB / 0.5211 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3307, allocations: 0 / 0.5211 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.3313, allocations: 0.4953 MB / 0.5216 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3313, allocations: 3.219 kB / 0.5216 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.3314, allocations: 23.45 kB / 0.5216 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3314, allocations: 4.062 kB / 0.5216 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3314, allocations: 14.69 kB / 0.5216 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3314, allocations: 0 / 0.5216 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3315, allocations: 3.062 kB / 0.5216 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.332, allocations: 0.9083 MB / 0.5225 GB, free: 32.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.3321, allocations: 83.2 kB / 0.5226 GB, free: 32.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3321, allocations: 6.875 kB / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.3322, allocations: 8.234 kB / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.3322, allocations: 12.23 kB / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3322, allocations: 2.812 kB / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.3323, allocations: 145.2 kB / 0.5228 GB, free: 32.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3323, allocations: 2.312 kB / 0.5228 GB, free: 32.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.3327, allocations: 25.66 kB / 0.5228 GB, free: 32.16 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.0009505/0.3336, allocations: 462.6 kB / 0.5232 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.334, allocations: 120.9 kB / 0.5233 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.334, allocations: 3.938 kB / 0.5233 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.3341, allocations: 70.38 kB / 0.5234 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.3345, allocations: 21.89 kB / 0.5234 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.335, allocations: 468.9 kB / 0.5239 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.3351, allocations: 0.7216 MB / 0.5246 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.847e-05/0.3352, allocations: 26.19 kB / 0.5246 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.3352, allocations: 15.28 kB / 0.5246 GB, free: 30.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3352, allocations: 0 / 0.5246 GB, free: 30.79 MB / 378.7 MB Notification: Performance of Templates: time 0.003325/0.3386, allocations: 1.565 MB / 0.5262 GB, free: 30.61 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches