Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.6 MB / 243.1 MB, free: 12.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008361/0.0008362, allocations: 101 kB / 295.1 MB, free: 4.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1827/0.1827, allocations: 44.83 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.0002501, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08651/0.08677, allocations: 62.96 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.001356/0.08816, allocations: 1.303 MB / 0.5166 GB, free: 3.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005767/0.08875, allocations: 487.2 kB / 0.5171 GB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.08881, allocations: 3.938 kB / 0.5171 GB, free: 3.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.08901, allocations: 75.83 kB / 0.5172 GB, free: 3.238 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.08918, allocations: 79.8 kB / 0.5172 GB, free: 3.16 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.08937, allocations: 79.84 kB / 0.5173 GB, free: 3.082 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.996e-05/0.08947, allocations: 75.75 kB / 0.5174 GB, free: 3.008 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.08955, allocations: 11.97 kB / 0.5174 GB, free: 2.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.0896, allocations: 31.91 kB / 0.5174 GB, free: 2.965 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.0897, allocations: 39.83 kB / 0.5175 GB, free: 2.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.08972, allocations: 4 kB / 0.5175 GB, free: 2.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/0.08979, allocations: 43.98 kB / 0.5175 GB, free: 2.879 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.08983, allocations: 23.84 kB / 0.5175 GB, free: 2.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.08985, allocations: 37.64 kB / 0.5176 GB, free: 2.812 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.08996, allocations: 75.89 kB / 0.5176 GB, free: 2.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.08997, allocations: 0 / 0.5176 GB, free: 2.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.08998, allocations: 0 / 0.5176 GB, free: 2.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.08999, allocations: 0 / 0.5176 GB, free: 2.738 MB / 346.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.0003489/0.09034, allocations: 403.1 kB / 0.518 GB, free: 2.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.09038, allocations: 8.031 kB / 0.518 GB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.09042, allocations: 15.81 kB / 0.518 GB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.09058, allocations: 199.5 kB / 0.5182 GB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.0906, allocations: 4 kB / 0.5182 GB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.09063, allocations: 0 / 0.5182 GB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.09076, allocations: 57.67 kB / 0.5183 GB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.09078, allocations: 0 / 0.5183 GB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.09079, allocations: 0 / 0.5183 GB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.0908, allocations: 3.984 kB / 0.5183 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.956e-05/0.0909, allocations: 39.91 kB / 0.5183 GB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.09117, allocations: 296.7 kB / 0.5186 GB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.348e-05/0.09126, allocations: 42.56 kB / 0.5187 GB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.09131, allocations: 24.8 kB / 0.5187 GB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.09133, allocations: 0 / 0.5187 GB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.247e-05/0.09135, allocations: 34.66 kB / 0.5187 GB, free: 1.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.09136, allocations: 0 / 0.5187 GB, free: 1.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007532/0.09212, allocations: 249.1 kB / 0.5189 GB, free: 1.215 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.09216, allocations: 55.36 kB / 0.519 GB, free: 1.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.09231, allocations: 216.1 kB / 0.5192 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.09232, allocations: 25.7 kB / 0.5192 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.09236, allocations: 112 kB / 0.5193 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.09238, allocations: 23.66 kB / 0.5194 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.09239, allocations: 0 / 0.5194 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.09243, allocations: 322.8 kB / 0.5197 GB, free: 448 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.09251, allocations: 35.97 kB / 0.5197 GB, free: 412 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.797e-05/0.09257, allocations: 23.98 kB / 0.5197 GB, free: 388 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.09265, allocations: 36.28 kB / 0.5198 GB, free: 352 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.09266, allocations: 0 / 0.5198 GB, free: 352 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001704/0.09283, allocations: 117.4 kB / 0.5199 GB, free: 228 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.09285, allocations: 8 kB / 0.5199 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.09286, allocations: 3.938 kB / 0.5199 GB, free: 216 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.09288, allocations: 0 / 0.5199 GB, free: 216 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.09297, allocations: 19.98 kB / 0.5199 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.09298, allocations: 3.953 kB / 0.5199 GB, free: 192 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.09302, allocations: 11.98 kB / 0.5199 GB, free: 180 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.09304, allocations: 7.938 kB / 0.5199 GB, free: 172 kB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.0931, allocations: 121.8 kB / 0.52 GB, free: 40 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.09313, allocations: 11.91 kB / 0.5201 GB, free: 28 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.0934, allocations: 127 kB / 0.5202 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.09341, allocations: 0 / 0.5202 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09342, allocations: 0 / 0.5202 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.09343, allocations: 3.953 kB / 0.5202 GB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004647/0.0939, allocations: 419.2 kB / 0.5206 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.09391, allocations: 4 kB / 0.5206 GB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.617e-05/0.09398, allocations: 19.98 kB / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.09399, allocations: 0 / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.09401, allocations: 7.953 kB / 0.5206 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.09402, allocations: 0 / 0.5206 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.09402, allocations: 3.938 kB / 0.5206 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.09426, allocations: 216.3 kB / 0.5208 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.09431, allocations: 92.91 kB / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.09433, allocations: 0 / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.09441, allocations: 7.953 kB / 0.5209 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.09445, allocations: 16.41 kB / 0.5209 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.09446, allocations: 4 kB / 0.5209 GB, free: 15.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001143/0.09458, allocations: 155.2 kB / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09459, allocations: 0 / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002155/0.09481, allocations: 23.98 kB / 0.5211 GB, free: 14.85 MB / 362.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 (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.0008496/0.09566, allocations: 455.5 kB / 0.5215 GB, free: 14.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.09587, allocations: 75.94 kB / 0.5216 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.09588, allocations: 8 kB / 0.5216 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.682e-05/0.09598, allocations: 35.92 kB / 0.5217 GB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.09629, allocations: 19.92 kB / 0.5217 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.09673, allocations: 295.9 kB / 0.522 GB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.09703, allocations: 0.7121 MB / 0.5227 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.09707, allocations: 15.44 kB / 0.5227 GB, free: 13.34 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.09707, allocations: 0 / 0.5227 GB, free: 13.34 MB / 362.7 MB Notification: Performance of Templates: time 0.002917/0.09999, allocations: 1.745 MB / 0.5244 GB, free: 11.6 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches