Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009614/0.0009618, allocations: 199.6 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007168/0.0007166, allocations: 92.31 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3314/0.3314, allocations: 44.82 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3048, allocations: 62.95 MB / 0.5159 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.001958/0.3068, allocations: 1.296 MB / 0.5171 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3082, allocations: 1.09 MB / 0.5182 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.3082, allocations: 3.062 kB / 0.5182 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.3084, allocations: 25.33 kB / 0.5182 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.3087, allocations: 65.08 kB / 0.5183 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3089, allocations: 104.8 kB / 0.5184 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3091, allocations: 64.38 kB / 0.5185 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.3092, allocations: 17.48 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.528e-05/0.3092, allocations: 19.75 kB / 0.5185 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3094, allocations: 29.55 kB / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3094, allocations: 2.5 kB / 0.5185 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3095, allocations: 80.83 kB / 0.5186 GB, free: 35.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.3096, allocations: 14.86 kB / 0.5186 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.3096, allocations: 43.78 kB / 0.5186 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.3098, allocations: 91.19 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3098, allocations: 2.969 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3098, allocations: 0 / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3098, allocations: 4 kB / 0.5187 GB, free: 35.14 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.0004305/0.3102, allocations: 390.6 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3103, allocations: 12.88 kB / 0.5191 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.3103, allocations: 10.81 kB / 0.5191 GB, free: 34.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3105, allocations: 192.8 kB / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3105, allocations: 7.438 kB / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3105, allocations: 384 / 0.5193 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.3107, allocations: 65.69 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3107, allocations: 3.375 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3108, allocations: 6.75 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3108, allocations: 0 / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.3108, allocations: 29.17 kB / 0.5194 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.3112, allocations: 284.3 kB / 0.5197 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.3114, allocations: 49.48 kB / 0.5197 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.3114, allocations: 13.45 kB / 0.5198 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3114, allocations: 6.141 kB / 0.5198 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3115, allocations: 42.5 kB / 0.5198 GB, free: 34.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.3115, allocations: 0 / 0.5198 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004994/0.312, allocations: 158.7 kB / 0.52 GB, free: 34.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.312, allocations: 86.97 kB / 0.52 GB, free: 33.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3121, allocations: 143.7 kB / 0.5202 GB, free: 33.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.3122, allocations: 29.7 kB / 0.5202 GB, free: 33.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.3122, allocations: 94.12 kB / 0.5203 GB, free: 33.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.3122, allocations: 26.66 kB / 0.5203 GB, free: 33.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.3122, allocations: 0 / 0.5203 GB, free: 33.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.3123, allocations: 322.8 kB / 0.5206 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.3124, allocations: 25.3 kB / 0.5207 GB, free: 33.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.226e-05/0.3124, allocations: 37.33 kB / 0.5207 GB, free: 33.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.3126, allocations: 65.95 kB / 0.5208 GB, free: 33.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3126, allocations: 0 / 0.5208 GB, free: 33.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001567/0.3127, allocations: 96.09 kB / 0.5208 GB, free: 33.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3128, allocations: 6.969 kB / 0.5209 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3128, allocations: 2.938 kB / 0.5209 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3128, allocations: 4 kB / 0.5209 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.3128, allocations: 14.8 kB / 0.5209 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3129, allocations: 0 / 0.5209 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.3129, allocations: 5.625 kB / 0.5209 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.3129, allocations: 3.938 kB / 0.5209 GB, free: 33.22 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/0.313, allocations: 118.9 kB / 0.521 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.313, allocations: 2.844 kB / 0.521 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.3132, allocations: 113.1 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3132, allocations: 0 / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3132, allocations: 0 / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3132, allocations: 2.781 kB / 0.5211 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.3136, allocations: 368.7 kB / 0.5215 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3136, allocations: 384 / 0.5215 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.3137, allocations: 14.84 kB / 0.5215 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3137, allocations: 4 kB / 0.5215 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3137, allocations: 3.984 kB / 0.5215 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3137, allocations: 6.844 kB / 0.5215 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3137, allocations: 4 kB / 0.5215 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.3139, allocations: 194 kB / 0.5217 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.3139, allocations: 87.08 kB / 0.5218 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3139, allocations: 0 / 0.5218 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-05/0.314, allocations: 17.59 kB / 0.5218 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.3141, allocations: 6.281 kB / 0.5218 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.3141, allocations: 0 / 0.5218 GB, free: 32.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.3141, allocations: 118.7 kB / 0.5219 GB, free: 32.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3141, allocations: 3.938 kB / 0.5219 GB, free: 32.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.3144, allocations: 34.91 kB / 0.5219 GB, free: 32.33 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009638/0.3154, allocations: 481.9 kB / 0.5224 GB, free: 32.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3156, allocations: 67.92 kB / 0.5225 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3156, allocations: 0 / 0.5225 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.188e-05/0.3156, allocations: 36.14 kB / 0.5225 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3159, allocations: 12.47 kB / 0.5225 GB, free: 32.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.3163, allocations: 213.5 kB / 0.5227 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3164, allocations: 0.6896 MB / 0.5234 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.3165, allocations: 27.31 kB / 0.5234 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3165, allocations: 0 / 0.5234 GB, free: 31.17 MB / 378.7 MB Notification: Performance of Templates: time 0.003213/0.3197, allocations: 1.949 MB / 0.5253 GB, free: 30.94 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches