Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001454/0.001454, 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.332/1.332, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 109.8 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.3339/0.3339, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3425, allocations: 62.02 MB / 0.5152 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002543/0.3451, allocations: 1.672 MB / 0.5168 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.3458, allocations: 0.5287 MB / 0.5173 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.3458, allocations: 0 / 0.5173 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.3461, allocations: 117 kB / 0.5174 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001811/0.3463, allocations: 103.2 kB / 0.5175 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.3465, allocations: 70.5 kB / 0.5176 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.3466, allocations: 82.39 kB / 0.5177 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.3467, allocations: 19.34 kB / 0.5177 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.3467, allocations: 40.25 kB / 0.5177 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.3468, allocations: 68.64 kB / 0.5178 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3468, allocations: 2.594 kB / 0.5178 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.3469, allocations: 42.31 kB / 0.5178 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.347, allocations: 25.47 kB / 0.5178 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.347, allocations: 34.16 kB / 0.5179 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3471, allocations: 113.8 kB / 0.518 GB, free: 36.13 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3471, allocations: 3.938 kB / 0.518 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3472, allocations: 0 / 0.518 GB, free: 36.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.3472, allocations: 0 / 0.518 GB, free: 36.12 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.0003361/0.3475, allocations: 432.6 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3475, allocations: 12.64 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.3476, allocations: 14.44 kB / 0.5184 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3477, allocations: 203.2 kB / 0.5186 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.3477, allocations: 7.375 kB / 0.5186 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.3478, allocations: 3.156 kB / 0.5186 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3479, allocations: 52.23 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3479, allocations: 4 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.3479, allocations: 2.781 kB / 0.5187 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.3479, allocations: 4 kB / 0.5187 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.348, allocations: 29.06 kB / 0.5187 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002503/0.3483, allocations: 300.7 kB / 0.519 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.155e-05/0.3484, allocations: 39.23 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.3484, allocations: 26 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3484, allocations: 2.562 kB / 0.5191 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.3484, allocations: 34.5 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3485, allocations: 0 / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006942/0.3492, allocations: 224 kB / 0.5193 GB, free: 34.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.3492, allocations: 51.41 kB / 0.5194 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3494, allocations: 255.8 kB / 0.5196 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.3494, allocations: 29.7 kB / 0.5196 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.3494, allocations: 109.1 kB / 0.5197 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3494, allocations: 26.47 kB / 0.5198 GB, free: 34.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.3495, allocations: 22.92 kB / 0.5198 GB, free: 34.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.428e-05/0.3495, allocations: 331.5 kB / 0.5201 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.3496, allocations: 28.95 kB / 0.5201 GB, free: 34.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.649e-05/0.3497, allocations: 26.38 kB / 0.5202 GB, free: 34.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3498, allocations: 56.27 kB / 0.5202 GB, free: 34.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3498, allocations: 0 / 0.5202 GB, free: 34.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001612/0.35, allocations: 98.55 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.35, allocations: 10.53 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.35, allocations: 320 / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.35, allocations: 0 / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.3501, allocations: 18.02 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3501, allocations: 0 / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.3501, allocations: 18.05 kB / 0.5204 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.3502, allocations: 11.34 kB / 0.5204 GB, free: 34.12 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.257e-05/0.3502, allocations: 132.4 kB / 0.5205 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.3503, allocations: 9.688 kB / 0.5205 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.3505, allocations: 126.3 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3505, allocations: 3.984 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3505, allocations: 0 / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3505, allocations: 3.938 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.3509, allocations: 415.5 kB / 0.521 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3509, allocations: 3.938 kB / 0.521 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.3509, allocations: 16.62 kB / 0.521 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.351, allocations: 6.219 kB / 0.521 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.351, allocations: 3.422 kB / 0.5211 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.351, allocations: 2.344 kB / 0.5211 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.351, allocations: 3.938 kB / 0.5211 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3513, allocations: 0.8015 MB / 0.5218 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.3514, allocations: 87.83 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3514, allocations: 2.938 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.3515, allocations: 9.984 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.3515, allocations: 2.812 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3515, allocations: 7.219 kB / 0.5219 GB, free: 32.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.3516, allocations: 193.9 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3516, allocations: 0 / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003326/0.352, allocations: 25.64 kB / 0.5222 GB, free: 32.57 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.0008211/0.3528, allocations: 455.5 kB / 0.5226 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.353, allocations: 64.84 kB / 0.5227 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.353, allocations: 0 / 0.5227 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.403e-05/0.3531, allocations: 31.06 kB / 0.5227 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.3534, allocations: 18.05 kB / 0.5227 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.3539, allocations: 437.1 kB / 0.5231 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.3541, allocations: 0.7219 MB / 0.5238 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.095e-05/0.3542, allocations: 9.75 kB / 0.5238 GB, free: 31.26 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.3542, allocations: 12.75 kB / 0.5238 GB, free: 31.25 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3542, allocations: 0 / 0.5238 GB, free: 31.25 MB / 378.7 MB Notification: Performance of Templates: time 0.003499/0.3577, allocations: 1.334 MB / 0.5251 GB, free: 31.08 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches