Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, 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.401/1.401, 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.0009503/0.0009502, allocations: 99.83 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.385/0.385, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3401, allocations: 62.01 MB / 0.5151 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002563/0.3427, allocations: 1.671 MB / 0.5168 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.3435, allocations: 0.5331 MB / 0.5173 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.3435, allocations: 3.562 kB / 0.5173 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.3438, allocations: 90.94 kB / 0.5174 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.344, allocations: 99.14 kB / 0.5175 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3442, allocations: 82 kB / 0.5176 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3444, allocations: 74.5 kB / 0.5176 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3445, allocations: 12.75 kB / 0.5176 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.3445, allocations: 37.38 kB / 0.5177 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.95e-05/0.3446, allocations: 51.88 kB / 0.5177 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3447, allocations: 2.938 kB / 0.5177 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.254e-05/0.3448, allocations: 50.31 kB / 0.5178 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.3448, allocations: 19.89 kB / 0.5178 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.3449, allocations: 36.88 kB / 0.5178 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.345, allocations: 102.1 kB / 0.5179 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3451, allocations: 3.375 kB / 0.5179 GB, free: 36.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3451, allocations: 3.938 kB / 0.5179 GB, free: 36.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.3451, allocations: 0 / 0.5179 GB, free: 36.07 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.0003944/0.3455, allocations: 415.6 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3455, allocations: 11.47 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3455, allocations: 18.47 kB / 0.5184 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3457, allocations: 201.1 kB / 0.5186 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-06/0.3457, allocations: 3.5 kB / 0.5186 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3457, allocations: 4.375 kB / 0.5186 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3459, allocations: 54.91 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3459, allocations: 0 / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.3459, allocations: 2.906 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3459, allocations: 3.938 kB / 0.5186 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.419e-05/0.346, allocations: 28.33 kB / 0.5187 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.3463, allocations: 297.3 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.679e-05/0.3464, allocations: 47.44 kB / 0.519 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.3465, allocations: 12.55 kB / 0.519 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3465, allocations: 7.031 kB / 0.519 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.3465, allocations: 41.75 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3465, allocations: 3.938 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000764/0.3473, allocations: 222.7 kB / 0.5193 GB, free: 34.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.3473, allocations: 51.41 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3475, allocations: 243.4 kB / 0.5195 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.3475, allocations: 25.7 kB / 0.5196 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.3476, allocations: 105.4 kB / 0.5197 GB, free: 34.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3476, allocations: 29.84 kB / 0.5197 GB, free: 34.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.3477, allocations: 19.56 kB / 0.5197 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.3477, allocations: 330.8 kB / 0.52 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.3478, allocations: 18.97 kB / 0.52 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.3479, allocations: 29.03 kB / 0.5201 GB, free: 34.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.348, allocations: 63 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.348, allocations: 0 / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00017/0.3482, allocations: 102.6 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3482, allocations: 4.656 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3482, allocations: 0 / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3482, allocations: 2.656 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.3483, allocations: 25.14 kB / 0.5203 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3483, allocations: 4 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.3484, allocations: 9.891 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.3484, allocations: 6.719 kB / 0.5203 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 7.046e-05/0.3485, allocations: 129.5 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.3485, allocations: 13.59 kB / 0.5204 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3488, allocations: 117.6 kB / 0.5205 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3488, allocations: 3.094 kB / 0.5205 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3488, allocations: 3.844 kB / 0.5205 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3488, allocations: 3.938 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.3492, allocations: 401.3 kB / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3492, allocations: 0 / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.225e-05/0.3493, allocations: 30.14 kB / 0.5209 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3493, allocations: 3.938 kB / 0.521 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.3493, allocations: 6.391 kB / 0.521 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3493, allocations: 0 / 0.521 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3493, allocations: 0 / 0.521 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.3497, allocations: 0.7961 MB / 0.5217 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.3498, allocations: 87.52 kB / 0.5218 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.3498, allocations: 9.922 kB / 0.5218 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.881e-05/0.3499, allocations: 2.844 kB / 0.5218 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.3499, allocations: 6.094 kB / 0.5218 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.3499, allocations: 2.875 kB / 0.5218 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.35, allocations: 177.6 kB / 0.522 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.35, allocations: 4 kB / 0.522 GB, free: 32.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.3504, allocations: 29.44 kB / 0.522 GB, free: 32.54 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.0009132/0.3513, allocations: 444.1 kB / 0.5225 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.3515, allocations: 71.44 kB / 0.5225 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3515, allocations: 0 / 0.5225 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.3516, allocations: 41.86 kB / 0.5226 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.352, allocations: 12.95 kB / 0.5226 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.3525, allocations: 427.6 kB / 0.523 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.3526, allocations: 0.7137 MB / 0.5237 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.879e-05/0.3527, allocations: 26.22 kB / 0.5237 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.3527, allocations: 12.78 kB / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3527, allocations: 0 / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of Templates: time 0.003339/0.3561, allocations: 1.322 MB / 0.525 GB, free: 31.05 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches