Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, 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.304/1.304, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009157/0.0009154, allocations: 106.8 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3722/0.3722, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.295, allocations: 62.02 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002661/0.2978, allocations: 1.706 MB / 0.5168 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.2986, allocations: 0.5348 MB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.2987, allocations: 0 / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.299, allocations: 104.2 kB / 0.5174 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.2992, allocations: 89.67 kB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2994, allocations: 86.42 kB / 0.5176 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.2996, allocations: 98.17 kB / 0.5177 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.2997, allocations: 20.55 kB / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.364e-05/0.2997, allocations: 38.05 kB / 0.5178 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.68e-05/0.2998, allocations: 65.08 kB / 0.5178 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.2999, allocations: 2.781 kB / 0.5178 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.3, allocations: 46.84 kB / 0.5179 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.3, allocations: 25.36 kB / 0.5179 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.3001, allocations: 39.86 kB / 0.5179 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.3003, allocations: 127.7 kB / 0.5181 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3003, allocations: 0 / 0.5181 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3003, allocations: 0 / 0.5181 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.3003, allocations: 0 / 0.5181 GB, free: 36.02 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.0004351/0.3007, allocations: 430.9 kB / 0.5185 GB, free: 35.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3008, allocations: 8.594 kB / 0.5185 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.3008, allocations: 14.53 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.301, allocations: 217.3 kB / 0.5187 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.301, allocations: 3.219 kB / 0.5187 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.301, allocations: 11.03 kB / 0.5187 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.3012, allocations: 70.28 kB / 0.5188 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3012, allocations: 0 / 0.5188 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3012, allocations: 0 / 0.5188 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3012, allocations: 2.938 kB / 0.5188 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.3013, allocations: 39.44 kB / 0.5188 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.3017, allocations: 333.7 kB / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3018, allocations: 59.2 kB / 0.5192 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3019, allocations: 26.78 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.3019, allocations: 3.234 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.302, allocations: 37.41 kB / 0.5193 GB, free: 34.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.302, allocations: 3.938 kB / 0.5193 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009793/0.303, allocations: 305.1 kB / 0.5195 GB, free: 34.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.303, allocations: 54.31 kB / 0.5196 GB, free: 34.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3032, allocations: 234.7 kB / 0.5198 GB, free: 34.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3033, allocations: 29.7 kB / 0.5199 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.3033, allocations: 112.5 kB / 0.52 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.3034, allocations: 48.3 kB / 0.52 GB, free: 34.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3034, allocations: 26.02 kB / 0.52 GB, free: 34.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3035, allocations: 325.3 kB / 0.5203 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.982e-05/0.3036, allocations: 34.48 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.179e-05/0.3037, allocations: 38.25 kB / 0.5204 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3039, allocations: 97.28 kB / 0.5205 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3039, allocations: 0 / 0.5205 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002774/0.3042, allocations: 134.5 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3042, allocations: 2.969 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3042, allocations: 0 / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3042, allocations: 6.906 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3044, allocations: 24.61 kB / 0.5207 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3044, allocations: 4.172 kB / 0.5207 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.3044, allocations: 14.08 kB / 0.5207 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3045, allocations: 7.016 kB / 0.5207 GB, free: 33.91 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 9.765e-05/0.3046, allocations: 132.8 kB / 0.5208 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.3046, allocations: 17.64 kB / 0.5208 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.3049, allocations: 161.2 kB / 0.521 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.305, allocations: 10.84 kB / 0.521 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.305, allocations: 3.938 kB / 0.521 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.305, allocations: 6.891 kB / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.3055, allocations: 470.6 kB / 0.5215 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3055, allocations: 0 / 0.5215 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.3056, allocations: 34.25 kB / 0.5215 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3057, allocations: 0 / 0.5215 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3057, allocations: 2.812 kB / 0.5215 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3057, allocations: 0 / 0.5215 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3057, allocations: 6.781 kB / 0.5215 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.3063, allocations: 0.8493 MB / 0.5223 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.3063, allocations: 87.8 kB / 0.5224 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.3064, allocations: 6.781 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.33e-05/0.3064, allocations: 5.969 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.3065, allocations: 17.09 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3065, allocations: 2.75 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.3066, allocations: 185.7 kB / 0.5226 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3066, allocations: 4 kB / 0.5226 GB, free: 32.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.307, allocations: 38.81 kB / 0.5227 GB, free: 32.28 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.0009308/0.3079, allocations: 437.9 kB / 0.5231 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.3082, allocations: 100.7 kB / 0.5232 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3082, allocations: 3.938 kB / 0.5232 GB, free: 32.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.3083, allocations: 56.8 kB / 0.5232 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.3087, allocations: 18.25 kB / 0.5232 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.3092, allocations: 490.6 kB / 0.5237 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3093, allocations: 0.7211 MB / 0.5244 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.343e-05/0.3094, allocations: 18.62 kB / 0.5244 GB, free: 30.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.3095, allocations: 22.91 kB / 0.5245 GB, free: 30.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3095, allocations: 0 / 0.5245 GB, free: 30.93 MB / 378.7 MB Notification: Performance of Templates: time 0.003417/0.3129, allocations: 1.504 MB / 0.5259 GB, free: 30.75 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches