Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, 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.251/1.251, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001028, allocations: 103 kB / 296.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3677/0.3677, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001157, allocations: 63.89 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3351, allocations: 62.03 MB / 0.5152 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002749/0.3379, allocations: 1.71 MB / 0.5168 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.3393, allocations: 1.175 MB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.121e-05/0.3394, allocations: 4 kB / 0.518 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3396, allocations: 20.83 kB / 0.518 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.3398, allocations: 65.28 kB / 0.5181 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.3402, allocations: 156.7 kB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3403, allocations: 82.94 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3404, allocations: 12.47 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.3405, allocations: 29.91 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.3406, allocations: 38.09 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3406, allocations: 2.844 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3408, allocations: 95.88 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.3409, allocations: 24.59 kB / 0.5185 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.3409, allocations: 25.59 kB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3411, allocations: 148.8 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3411, allocations: 0 / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.3411, allocations: 0 / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.3412, allocations: 2.781 kB / 0.5186 GB, free: 35.39 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.0004576/0.3416, allocations: 411.6 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3417, allocations: 8.656 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.3417, allocations: 7.844 kB / 0.5191 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.3419, allocations: 202.7 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.3419, allocations: 3.25 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.3419, allocations: 7.25 kB / 0.5193 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.3421, allocations: 74.97 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3421, allocations: 3.156 kB / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3421, allocations: 0 / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3421, allocations: 0 / 0.5193 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3423, allocations: 45.44 kB / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.3426, allocations: 307.6 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.3428, allocations: 52.62 kB / 0.5197 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.381e-05/0.3428, allocations: 27.38 kB / 0.5197 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3429, allocations: 0 / 0.5197 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3429, allocations: 37 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3429, allocations: 0 / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007259/0.3436, allocations: 222.8 kB / 0.52 GB, free: 34.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.3437, allocations: 79.98 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3438, allocations: 155.7 kB / 0.5202 GB, free: 34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.3438, allocations: 25.7 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.3439, allocations: 98.19 kB / 0.5203 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3439, allocations: 26.81 kB / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.3439, allocations: 22.78 kB / 0.5204 GB, free: 33.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.344, allocations: 321.6 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3441, allocations: 38.42 kB / 0.5207 GB, free: 33.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3443, allocations: 53.05 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.3445, allocations: 92.25 kB / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3445, allocations: 0 / 0.5209 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002459/0.3447, allocations: 117.4 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3448, allocations: 2.938 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3448, allocations: 6.844 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3448, allocations: 0 / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3449, allocations: 22.64 kB / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3449, allocations: 0 / 0.521 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.345, allocations: 21.59 kB / 0.521 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.345, allocations: 2.844 kB / 0.521 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 (7): * Single equations (assignments): 7 * 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.786e-05/0.3451, allocations: 120.6 kB / 0.5211 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.3451, allocations: 14.5 kB / 0.5212 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.3454, allocations: 147 kB / 0.5213 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3454, allocations: 4 kB / 0.5213 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3454, allocations: 0 / 0.5213 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3454, allocations: 3.938 kB / 0.5213 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004421/0.3459, allocations: 403.1 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3459, allocations: 0 / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.346, allocations: 18.22 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.346, allocations: 4 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.346, allocations: 15.25 kB / 0.5217 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.346, allocations: 2.906 kB / 0.5217 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.346, allocations: 0 / 0.5217 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.3466, allocations: 0.8248 MB / 0.5225 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.3466, allocations: 83.61 kB / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3466, allocations: 0 / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.3467, allocations: 8.75 kB / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3468, allocations: 10.3 kB / 0.5226 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.3468, allocations: 2.562 kB / 0.5226 GB, free: 31.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.569e-05/0.3469, allocations: 114.2 kB / 0.5227 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3469, allocations: 4 kB / 0.5228 GB, free: 31.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.3472, allocations: 37.78 kB / 0.5228 GB, free: 31.87 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 (7): * Single equations (assignments): 7 * 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.001035/0.3483, allocations: 0.4893 MB / 0.5233 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.3486, allocations: 93.2 kB / 0.5234 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3486, allocations: 0 / 0.5234 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.3487, allocations: 47.25 kB / 0.5234 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3491, allocations: 18.02 kB / 0.5234 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.3495, allocations: 357.5 kB / 0.5238 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.3497, allocations: 0.706 MB / 0.5244 GB, free: 30.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.821e-05/0.3497, allocations: 23.08 kB / 0.5245 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.3498, allocations: 20.47 kB / 0.5245 GB, free: 30.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3498, allocations: 0 / 0.5245 GB, free: 30.56 MB / 378.7 MB Notification: Performance of Templates: time 0.003792/0.3536, allocations: 1.886 MB / 0.5263 GB, free: 30.34 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches