Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 199.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.5 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007185/0.0007185, allocations: 102.6 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1899/0.1899, allocations: 44.84 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002358/0.0002358, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.0971, allocations: 62.96 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.001997/0.09912, allocations: 1.354 MB / 0.5167 GB, free: 1.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009182/0.1001, allocations: 0.5227 MB / 0.5172 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.1001, allocations: 0 / 0.5172 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.1007, allocations: 447.1 kB / 0.5176 GB, free: 444 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.101, allocations: 271.5 kB / 0.5179 GB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.1013, allocations: 154.5 kB / 0.518 GB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1964/0.2977, allocations: 135.8 kB / 0.5181 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2979, allocations: 17.11 kB / 0.5181 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.298, allocations: 105.5 kB / 0.5182 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.2983, allocations: 171.5 kB / 0.5184 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2983, allocations: 2.703 kB / 0.5184 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.2985, allocations: 41.62 kB / 0.5185 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2986, allocations: 84.69 kB / 0.5185 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.2987, allocations: 69.48 kB / 0.5186 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.299, allocations: 200.2 kB / 0.5188 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.299, allocations: 1.75 kB / 0.5188 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.299, allocations: 1.344 kB / 0.5188 GB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.299, allocations: 0 / 0.5188 GB, free: 10.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000574/0.2996, allocations: 0.5979 MB / 0.5194 GB, free: 9.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.2996, allocations: 10.84 kB / 0.5194 GB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.2997, allocations: 45.09 kB / 0.5194 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.2999, allocations: 282.3 kB / 0.5197 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3, allocations: 3.938 kB / 0.5197 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3, allocations: 4.469 kB / 0.5197 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3001, allocations: 66.06 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3002, allocations: 0.9688 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3002, allocations: 2.844 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-06/0.3002, allocations: 0.9688 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3003, allocations: 44.19 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.3008, allocations: 410.5 kB / 0.5202 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.3009, allocations: 49.34 kB / 0.5203 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.3009, allocations: 20.94 kB / 0.5203 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.301, allocations: 2.781 kB / 0.5203 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.301, allocations: 36.19 kB / 0.5203 GB, free: 9.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.301, allocations: 0 / 0.5203 GB, free: 9.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009184/0.3019, allocations: 356.8 kB / 0.5207 GB, free: 8.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.751e-05/0.3019, allocations: 52.84 kB / 0.5207 GB, free: 8.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009919/0.3029, allocations: 0.8757 MB / 0.5216 GB, free: 8.742 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.303, allocations: 26.58 kB / 0.5216 GB, free: 8.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.3031, allocations: 222.8 kB / 0.5218 GB, free: 8.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.3032, allocations: 30.41 kB / 0.5218 GB, free: 8.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.3032, allocations: 2.594 kB / 0.5218 GB, free: 8.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3033, allocations: 362.3 kB / 0.5222 GB, free: 8.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.3034, allocations: 34.89 kB / 0.5222 GB, free: 8.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.3035, allocations: 37.97 kB / 0.5222 GB, free: 8.293 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.34e-05/0.3036, allocations: 39.47 kB / 0.5223 GB, free: 8.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3036, allocations: 3.938 kB / 0.5223 GB, free: 8.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002516/0.3038, allocations: 152.4 kB / 0.5224 GB, free: 8.234 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3038, allocations: 5.75 kB / 0.5224 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3039, allocations: 0 / 0.5224 GB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3039, allocations: 5.047 kB / 0.5224 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.304, allocations: 19.64 kB / 0.5225 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.304, allocations: 0 / 0.5225 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.304, allocations: 7.031 kB / 0.5225 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3041, allocations: 6.531 kB / 0.5225 GB, free: 8.23 MB / 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 0.0001819/0.3042, allocations: 215.3 kB / 0.5227 GB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.3043, allocations: 48.86 kB / 0.5227 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.3046, allocations: 183.8 kB / 0.5229 GB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3047, allocations: 5.312 kB / 0.5229 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3047, allocations: 5.109 kB / 0.5229 GB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3047, allocations: 0.6094 kB / 0.5229 GB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.3054, allocations: 0.5204 MB / 0.5234 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3054, allocations: 0 / 0.5234 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.3055, allocations: 18.38 kB / 0.5234 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3055, allocations: 9.656 kB / 0.5234 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3055, allocations: 4.562 kB / 0.5235 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3055, allocations: 4.812 kB / 0.5235 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3055, allocations: 80 / 0.5235 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.3058, allocations: 261.9 kB / 0.5237 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.3058, allocations: 113.9 kB / 0.5238 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3059, allocations: 4.984 kB / 0.5238 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.306, allocations: 10.8 kB / 0.5238 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.306, allocations: 6.906 kB / 0.5238 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.306, allocations: 6.891 kB / 0.5238 GB, free: 7.422 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007716/0.3068, allocations: 0.6567 MB / 0.5245 GB, free: 7.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3068, allocations: 0 / 0.5245 GB, free: 7.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002742/0.3071, allocations: 27.3 kB / 0.5245 GB, free: 7.336 MB / 346.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.001013/0.3081, allocations: 452.1 kB / 0.5249 GB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.3084, allocations: 83.7 kB / 0.525 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3084, allocations: 0 / 0.525 GB, free: 7.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3085, allocations: 51.47 kB / 0.5251 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.3089, allocations: 24.94 kB / 0.5251 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3103, allocations: 0.9033 MB / 0.526 GB, free: 6.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3106, allocations: 0.8324 MB / 0.5268 GB, free: 5.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.3106, allocations: 15.08 kB / 0.5268 GB, free: 5.945 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3106, allocations: 4.844 kB / 0.5268 GB, free: 5.941 MB / 346.7 MB Notification: Performance of Templates: time 0.007786/0.3184, allocations: 3.982 MB / 0.5307 GB, free: 5.105 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches