Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, 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.263/1.263, allocations: 226.8 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.001247/0.001247, allocations: 100.7 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.3365/0.3365, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2982, allocations: 62.01 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002492/0.3008, allocations: 1.737 MB / 0.5168 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000709/0.3015, allocations: 0.5468 MB / 0.5174 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.3016, allocations: 2.875 kB / 0.5174 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.3018, allocations: 59.41 kB / 0.5174 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.302, allocations: 92.28 kB / 0.5175 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.3022, allocations: 114.6 kB / 0.5176 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3023, allocations: 92.98 kB / 0.5177 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.3024, allocations: 16.45 kB / 0.5177 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.505e-05/0.3025, allocations: 35.8 kB / 0.5178 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.563e-05/0.3026, allocations: 54.58 kB / 0.5178 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3026, allocations: 2.812 kB / 0.5178 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.026e-05/0.3027, allocations: 44.64 kB / 0.5179 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.901e-05/0.3027, allocations: 28.48 kB / 0.5179 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.3028, allocations: 29.69 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.3029, allocations: 116.2 kB / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3029, allocations: 2.969 kB / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3029, allocations: 0 / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.3029, allocations: 4 kB / 0.518 GB, free: 35.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004012/0.3034, allocations: 417.8 kB / 0.5184 GB, free: 35.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.3034, allocations: 8.812 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.3034, allocations: 14.66 kB / 0.5185 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3036, allocations: 202 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-06/0.3036, allocations: 3.438 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.3036, allocations: 3.375 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3037, allocations: 64.25 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3038, allocations: 4 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.3038, allocations: 6.719 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.3038, allocations: 0 / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.3039, allocations: 35.81 kB / 0.5188 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.3042, allocations: 315 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3044, allocations: 62.42 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/0.3045, allocations: 23.95 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3045, allocations: 2.938 kB / 0.5192 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.3045, allocations: 30.56 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3045, allocations: 0 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001195/0.3057, allocations: 392.7 kB / 0.5196 GB, free: 34.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.3058, allocations: 55.34 kB / 0.5196 GB, free: 34.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3059, allocations: 211.7 kB / 0.5198 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.3059, allocations: 25.7 kB / 0.5198 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.306, allocations: 112.8 kB / 0.5199 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.306, allocations: 36.36 kB / 0.52 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.306, allocations: 30.7 kB / 0.52 GB, free: 34.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.3061, allocations: 327.9 kB / 0.5203 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3062, allocations: 44.41 kB / 0.5204 GB, free: 34.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.977e-05/0.3063, allocations: 42.09 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.3065, allocations: 102.7 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3065, allocations: 2.812 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002548/0.3068, allocations: 138.5 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3068, allocations: 3.5 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3068, allocations: 3.234 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3068, allocations: 2.938 kB / 0.5206 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.3069, allocations: 29.55 kB / 0.5207 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3069, allocations: 0 / 0.5207 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.307, allocations: 15.53 kB / 0.5207 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.307, allocations: 2.688 kB / 0.5207 GB, free: 33.9 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 (11): * Single equations (assignments): 11 * 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 6.298e-05/0.3071, allocations: 134.1 kB / 0.5208 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.3071, allocations: 11.69 kB / 0.5208 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.3074, allocations: 166.8 kB / 0.521 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3075, allocations: 3.938 kB / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3075, allocations: 2.844 kB / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3075, allocations: 3.938 kB / 0.521 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.308, allocations: 479 kB / 0.5215 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.308, allocations: 2.781 kB / 0.5215 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.793e-05/0.3081, allocations: 22.66 kB / 0.5215 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3081, allocations: 2.688 kB / 0.5215 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3081, allocations: 8 kB / 0.5215 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.3081, allocations: 10.28 kB / 0.5215 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3081, allocations: 0 / 0.5215 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.3086, allocations: 0.8558 MB / 0.5223 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.3086, allocations: 90.42 kB / 0.5224 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3087, allocations: 11.23 kB / 0.5224 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.3088, allocations: 11.03 kB / 0.5224 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3088, allocations: 12.84 kB / 0.5225 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3088, allocations: 6.281 kB / 0.5225 GB, free: 32.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.054e-05/0.3089, allocations: 163.4 kB / 0.5226 GB, free: 32.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3089, allocations: 0 / 0.5226 GB, free: 32.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.3093, allocations: 28.5 kB / 0.5226 GB, free: 32.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008574/0.3101, allocations: 452.8 kB / 0.5231 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.3104, allocations: 107.7 kB / 0.5232 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3104, allocations: 0 / 0.5232 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3105, allocations: 62.39 kB / 0.5232 GB, free: 32.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.3109, allocations: 24.97 kB / 0.5233 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.3114, allocations: 468.7 kB / 0.5237 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3115, allocations: 0.7207 MB / 0.5244 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.886e-05/0.3116, allocations: 15.72 kB / 0.5244 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.3116, allocations: 15.59 kB / 0.5244 GB, free: 30.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3116, allocations: 0 / 0.5244 GB, free: 30.91 MB / 378.7 MB Notification: Performance of Templates: time 0.003258/0.3149, allocations: 1.496 MB / 0.5259 GB, free: 30.74 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches