Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, 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.363/1.363, allocations: 226.7 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 109 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.3831/0.3831, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3339, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002413/0.3364, allocations: 1.671 MB / 0.5168 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007161/0.3371, allocations: 0.5202 MB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.3372, allocations: 3.938 kB / 0.5173 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.3374, allocations: 80.5 kB / 0.5174 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.3376, allocations: 89.03 kB / 0.5175 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.3379, allocations: 78.66 kB / 0.5175 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.338, allocations: 67.12 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.3381, allocations: 12.75 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.3382, allocations: 45.27 kB / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.739e-05/0.3382, allocations: 49.03 kB / 0.5177 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.3383, allocations: 0 / 0.5177 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.3383, allocations: 43.12 kB / 0.5177 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.3384, allocations: 19.67 kB / 0.5178 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.23e-05/0.3384, allocations: 29.19 kB / 0.5178 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.3386, allocations: 99.66 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3386, allocations: 0 / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3386, allocations: 0 / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3386, allocations: 0 / 0.5179 GB, free: 36.05 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.0003597/0.339, allocations: 410.9 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.339, allocations: 8.625 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.339, allocations: 10.22 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3392, allocations: 210.4 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.3392, allocations: 4.375 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3392, allocations: 3.25 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3393, allocations: 56.88 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3394, allocations: 4 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.3394, allocations: 6.125 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3394, allocations: 4 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.3395, allocations: 25.94 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.3397, allocations: 286 kB / 0.5189 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.837e-05/0.3398, allocations: 51.27 kB / 0.5189 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.3399, allocations: 14.8 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3399, allocations: 0 / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.3399, allocations: 44.88 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3399, allocations: 0 / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007238/0.3407, allocations: 221 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.3407, allocations: 51.41 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3408, allocations: 205.2 kB / 0.5194 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.3409, allocations: 25.7 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.3409, allocations: 105.2 kB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.3409, allocations: 29.88 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.341, allocations: 19.38 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.341, allocations: 324 kB / 0.5199 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.3411, allocations: 25.58 kB / 0.5199 GB, free: 34.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.3411, allocations: 25.52 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3413, allocations: 62.58 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3413, allocations: 0 / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001653/0.3415, allocations: 102.4 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3415, allocations: 5.25 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3415, allocations: 4 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3415, allocations: 3.281 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.3416, allocations: 20.83 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3416, allocations: 2.625 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.774e-05/0.3416, allocations: 10.53 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3417, allocations: 2.25 kB / 0.5202 GB, free: 34.09 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 5.7e-05/0.3417, allocations: 121.3 kB / 0.5203 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.3418, allocations: 17.59 kB / 0.5203 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.342, allocations: 129.9 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.342, allocations: 0 / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.342, allocations: 0 / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.342, allocations: 3.938 kB / 0.5204 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.3424, allocations: 401.7 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3424, allocations: 0 / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.844e-05/0.3425, allocations: 16.38 kB / 0.5208 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.3425, allocations: 6.844 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3425, allocations: 4 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3425, allocations: 6.781 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3425, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.3429, allocations: 0.7916 MB / 0.5216 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.3429, allocations: 83.39 kB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3429, allocations: 2.406 kB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.343, allocations: 6.781 kB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.343, allocations: 11.88 kB / 0.5217 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.343, allocations: 6.406 kB / 0.5217 GB, free: 32.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.103e-05/0.3431, allocations: 157.6 kB / 0.5219 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3431, allocations: 0 / 0.5219 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003206/0.3435, allocations: 25.56 kB / 0.5219 GB, free: 32.55 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.0008374/0.3443, allocations: 450.6 kB / 0.5223 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.3445, allocations: 66.75 kB / 0.5224 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3445, allocations: 0 / 0.5224 GB, free: 32.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.321e-05/0.3446, allocations: 36.11 kB / 0.5224 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.3449, allocations: 17.02 kB / 0.5224 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.3453, allocations: 392.6 kB / 0.5228 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3454, allocations: 0.7086 MB / 0.5235 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.3455, allocations: 18.23 kB / 0.5235 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.3455, allocations: 17.19 kB / 0.5235 GB, free: 31.26 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3455, allocations: 0 / 0.5235 GB, free: 31.26 MB / 378.7 MB Notification: Performance of Templates: time 0.003054/0.3486, allocations: 1.314 MB / 0.5248 GB, free: 31.09 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches