Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001333/0.001333, 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.324/1.324, 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.001078/0.001078, allocations: 110.2 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3405/0.3405, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 63.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2997, allocations: 62.03 MB / 0.5152 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002508/0.3022, allocations: 1.652 MB / 0.5168 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007659/0.303, allocations: 0.5477 MB / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.3031, allocations: 0 / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.3033, allocations: 36 kB / 0.5173 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.3035, allocations: 58.88 kB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3037, allocations: 101.5 kB / 0.5175 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3038, allocations: 62.98 kB / 0.5176 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.334e-05/0.3039, allocations: 17.05 kB / 0.5176 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.3039, allocations: 26.33 kB / 0.5176 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.304, allocations: 35.06 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.304, allocations: 2.844 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001311/0.3042, allocations: 96.58 kB / 0.5177 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.3042, allocations: 10.16 kB / 0.5177 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.3043, allocations: 24.89 kB / 0.5178 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.3044, allocations: 147.8 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3045, allocations: 2.844 kB / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3045, allocations: 0 / 0.5179 GB, free: 35.93 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.3045, allocations: 4 kB / 0.5179 GB, free: 35.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003706/0.3048, allocations: 392.3 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3049, allocations: 8.656 kB / 0.5183 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.3049, allocations: 10.84 kB / 0.5183 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3051, allocations: 195 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.3051, allocations: 384 / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3051, allocations: 3.219 kB / 0.5185 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3052, allocations: 73.14 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3053, allocations: 0 / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3053, allocations: 3.375 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3053, allocations: 3.938 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.683e-05/0.3054, allocations: 22.17 kB / 0.5186 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.3057, allocations: 294.6 kB / 0.5189 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/0.3058, allocations: 53.5 kB / 0.5189 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.3059, allocations: 27.56 kB / 0.5189 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3059, allocations: 6.062 kB / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.3059, allocations: 30.56 kB / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3059, allocations: 0 / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005421/0.3065, allocations: 173.1 kB / 0.5191 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.3065, allocations: 80.62 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3066, allocations: 147.6 kB / 0.5194 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.3066, allocations: 25.7 kB / 0.5194 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.3067, allocations: 103.1 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3067, allocations: 18.84 kB / 0.5195 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.3067, allocations: 22.69 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.3068, allocations: 328.9 kB / 0.5198 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.239e-05/0.3069, allocations: 26.39 kB / 0.5199 GB, free: 34.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.307, allocations: 43.14 kB / 0.5199 GB, free: 34.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3071, allocations: 75.94 kB / 0.52 GB, free: 34.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3071, allocations: 0 / 0.52 GB, free: 34.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000182/0.3073, allocations: 110 kB / 0.5201 GB, free: 33.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3073, allocations: 5.969 kB / 0.5201 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.3073, allocations: 0 / 0.5201 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3073, allocations: 2.906 kB / 0.5201 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.3074, allocations: 25.12 kB / 0.5201 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3074, allocations: 0 / 0.5201 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.3075, allocations: 11.05 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3075, allocations: 7.938 kB / 0.5201 GB, free: 33.96 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.418e-05/0.3076, allocations: 126.5 kB / 0.5203 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.3076, allocations: 6.75 kB / 0.5203 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.3078, allocations: 106.7 kB / 0.5204 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3078, allocations: 3.062 kB / 0.5204 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3078, allocations: 0 / 0.5204 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3079, allocations: 0 / 0.5204 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.3082, allocations: 406.2 kB / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3082, allocations: 0 / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.644e-05/0.3083, allocations: 19.2 kB / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3083, allocations: 2.688 kB / 0.5208 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3083, allocations: 3.938 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3083, allocations: 3.938 kB / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3083, allocations: 80 / 0.5208 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.3087, allocations: 0.796 MB / 0.5216 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.3087, allocations: 81.02 kB / 0.5216 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3088, allocations: 5.938 kB / 0.5216 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.3088, allocations: 2.75 kB / 0.5216 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.3089, allocations: 9.859 kB / 0.5217 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3089, allocations: 6.562 kB / 0.5217 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.105e-05/0.309, allocations: 114.5 kB / 0.5218 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.309, allocations: 0 / 0.5218 GB, free: 32.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003626/0.3093, allocations: 46.16 kB / 0.5218 GB, free: 32.44 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.001228/0.3106, allocations: 482.2 kB / 0.5223 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002475/0.3108, allocations: 75.58 kB / 0.5223 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3108, allocations: 4 kB / 0.5223 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.3109, allocations: 37.59 kB / 0.5224 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.3114, allocations: 19.17 kB / 0.5224 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.3119, allocations: 326 kB / 0.5227 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.312, allocations: 0.699 MB / 0.5234 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.566e-05/0.3121, allocations: 26.19 kB / 0.5234 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.3122, allocations: 17.16 kB / 0.5234 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3122, allocations: 3.938 kB / 0.5234 GB, free: 31.16 MB / 378.7 MB Notification: Performance of Templates: time 0.003626/0.3158, allocations: 1.93 MB / 0.5253 GB, free: 30.95 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches