Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001265, 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.339/1.339, allocations: 226.7 MB / 245.5 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 113.1 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3844/0.3844, allocations: 44.83 MB / 392.7 MB, free: 34.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 67.83 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3336, allocations: 62.01 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002559/0.3362, allocations: 1.707 MB / 0.5168 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008044/0.337, allocations: 0.5315 MB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.3371, allocations: 3.938 kB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3373, allocations: 96.45 kB / 0.5174 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.3375, allocations: 97.92 kB / 0.5175 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3377, allocations: 82.84 kB / 0.5176 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3379, allocations: 92.92 kB / 0.5177 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.338, allocations: 20.05 kB / 0.5177 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.338, allocations: 39.02 kB / 0.5178 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.3381, allocations: 66.44 kB / 0.5178 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3382, allocations: 2.938 kB / 0.5178 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.939e-05/0.3382, allocations: 44.55 kB / 0.5179 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.977e-05/0.3383, allocations: 26.41 kB / 0.5179 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.3383, allocations: 37.8 kB / 0.5179 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.3385, allocations: 125.1 kB / 0.518 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3385, allocations: 0 / 0.518 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3385, allocations: 3.281 kB / 0.518 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.3385, allocations: 6.625 kB / 0.518 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003946/0.3389, allocations: 426.3 kB / 0.5185 GB, free: 35.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.339, allocations: 7.844 kB / 0.5185 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.339, allocations: 19.88 kB / 0.5185 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.3392, allocations: 211.8 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.3392, allocations: 3.25 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.3392, allocations: 7.312 kB / 0.5187 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.3394, allocations: 72.41 kB / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3394, allocations: 4 kB / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3394, allocations: 0 / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.3394, allocations: 2.938 kB / 0.5188 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.3395, allocations: 41.3 kB / 0.5188 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.3398, allocations: 326.8 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.3399, allocations: 67.5 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.782e-05/0.34, allocations: 27.58 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.34, allocations: 2.938 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.3401, allocations: 34.55 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3401, allocations: 0 / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008669/0.3409, allocations: 312.2 kB / 0.5195 GB, free: 34.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.341, allocations: 51.41 kB / 0.5196 GB, free: 34.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3411, allocations: 238.4 kB / 0.5198 GB, free: 34.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.3412, allocations: 25.7 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.393e-05/0.3412, allocations: 109.1 kB / 0.52 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.3412, allocations: 44.36 kB / 0.52 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.3413, allocations: 29.67 kB / 0.52 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.256e-05/0.3414, allocations: 327.9 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.3415, allocations: 34.19 kB / 0.5204 GB, free: 34.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.3416, allocations: 42.42 kB / 0.5204 GB, free: 34.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.3417, allocations: 97.89 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3417, allocations: 0 / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002239/0.342, allocations: 136.9 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.342, allocations: 2.938 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.342, allocations: 0 / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.342, allocations: 6.812 kB / 0.5206 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3421, allocations: 23.72 kB / 0.5207 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3421, allocations: 0 / 0.5207 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.3422, allocations: 10.08 kB / 0.5207 GB, free: 33.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3422, allocations: 2.906 kB / 0.5207 GB, free: 33.95 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 (13): * Single equations (assignments): 13 * 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.153e-05/0.3423, allocations: 140.7 kB / 0.5208 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3423, allocations: 13.75 kB / 0.5208 GB, free: 33.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.3426, allocations: 160.4 kB / 0.521 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3426, allocations: 3.938 kB / 0.521 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3426, allocations: 6.938 kB / 0.521 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3426, allocations: 0 / 0.521 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.3431, allocations: 489.4 kB / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3431, allocations: 4 kB / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.742e-05/0.3432, allocations: 30.11 kB / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3432, allocations: 0 / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.3432, allocations: 2.938 kB / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3432, allocations: 32 / 0.5215 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3432, allocations: 4 kB / 0.5215 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.3437, allocations: 0.8417 MB / 0.5223 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.3437, allocations: 87.7 kB / 0.5224 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3437, allocations: 14.25 kB / 0.5224 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.3438, allocations: 3.438 kB / 0.5224 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.3438, allocations: 18.19 kB / 0.5224 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.064e-06/0.3438, allocations: 9.844 kB / 0.5224 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000104/0.344, allocations: 181 kB / 0.5226 GB, free: 32.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.344, allocations: 2.906 kB / 0.5226 GB, free: 32.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.3443, allocations: 29.22 kB / 0.5226 GB, free: 32.32 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 (13): * Single equations (assignments): 13 * 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.0008686/0.3452, allocations: 450 kB / 0.5231 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.3454, allocations: 91.05 kB / 0.5232 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3454, allocations: 7.938 kB / 0.5232 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.507e-05/0.3455, allocations: 58 kB / 0.5232 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3459, allocations: 20.44 kB / 0.5232 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.3464, allocations: 490 kB / 0.5237 GB, free: 31.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.3466, allocations: 0.7159 MB / 0.5244 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.3466, allocations: 18.42 kB / 0.5244 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.3467, allocations: 22.8 kB / 0.5244 GB, free: 30.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3467, allocations: 0 / 0.5244 GB, free: 30.96 MB / 378.7 MB Notification: Performance of Templates: time 0.003402/0.3501, allocations: 1.515 MB / 0.5259 GB, free: 30.78 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches