Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 202.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.269/1.269, allocations: 226.5 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007694/0.0007697, allocations: 96.75 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1844/0.1844, allocations: 44.84 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002644, allocations: 4 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09257/0.09285, allocations: 62.96 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001691/0.09457, allocations: 1.292 MB / 0.5166 GB, free: 1.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.09591, allocations: 1.062 MB / 0.5176 GB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.09596, allocations: 4 kB / 0.5176 GB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.09615, allocations: 23.91 kB / 0.5176 GB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.09636, allocations: 67.77 kB / 0.5177 GB, free: 312 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.09658, allocations: 67.84 kB / 0.5178 GB, free: 244 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.0967, allocations: 63.83 kB / 0.5178 GB, free: 180 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.09679, allocations: 7.984 kB / 0.5178 GB, free: 172 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.61e-05/0.09685, allocations: 27.84 kB / 0.5179 GB, free: 144 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.09698, allocations: 31.86 kB / 0.5179 GB, free: 112 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.097, allocations: 0 / 0.5179 GB, free: 112 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.09714, allocations: 83.94 kB / 0.518 GB, free: 28 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.09718, allocations: 3.938 kB / 0.518 GB, free: 24 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1917/0.2889, allocations: 39.42 kB / 0.518 GB, free: 9.867 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.2892, allocations: 93 kB / 0.5181 GB, free: 9.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2892, allocations: 0.6875 kB / 0.5181 GB, free: 9.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.2892, allocations: 0.7812 kB / 0.5181 GB, free: 9.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2892, allocations: 0 / 0.5181 GB, free: 9.867 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004219/0.2897, allocations: 396.6 kB / 0.5185 GB, free: 9.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2897, allocations: 9.25 kB / 0.5185 GB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.2898, allocations: 7.734 kB / 0.5185 GB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.29, allocations: 187.4 kB / 0.5187 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.29, allocations: 1.75 kB / 0.5187 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.29, allocations: 2.75 kB / 0.5187 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.2902, allocations: 74.75 kB / 0.5188 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.2902, allocations: 0.9375 kB / 0.5188 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2902, allocations: 0.75 kB / 0.5188 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2902, allocations: 0.5938 kB / 0.5188 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.2903, allocations: 32.97 kB / 0.5188 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.2906, allocations: 281.9 kB / 0.5191 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.2908, allocations: 47.06 kB / 0.5191 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.2909, allocations: 18.23 kB / 0.5191 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2909, allocations: 2.062 kB / 0.5191 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.291, allocations: 33.86 kB / 0.5192 GB, free: 8.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.291, allocations: 1.031 kB / 0.5192 GB, free: 8.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000572/0.2915, allocations: 156.2 kB / 0.5193 GB, free: 8.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2916, allocations: 78.45 kB / 0.5194 GB, free: 8.758 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.2917, allocations: 149.7 kB / 0.5195 GB, free: 8.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.2917, allocations: 31.72 kB / 0.5196 GB, free: 8.621 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.2918, allocations: 94.98 kB / 0.5196 GB, free: 8.539 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.2918, allocations: 17.23 kB / 0.5197 GB, free: 8.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.2918, allocations: 0.5 kB / 0.5197 GB, free: 8.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.2919, allocations: 319.7 kB / 0.52 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.152e-05/0.2919, allocations: 19.89 kB / 0.52 GB, free: 8.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.292, allocations: 39.67 kB / 0.52 GB, free: 8.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.2921, allocations: 26.69 kB / 0.5201 GB, free: 8.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2921, allocations: 0 / 0.5201 GB, free: 8.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001828/0.2923, allocations: 90.52 kB / 0.5201 GB, free: 8.156 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2923, allocations: 6.141 kB / 0.5201 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2923, allocations: 0 / 0.5201 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.2924, allocations: 1.547 kB / 0.5201 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.201e-05/0.2924, allocations: 13.52 kB / 0.5202 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2924, allocations: 1.5 kB / 0.5202 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.2925, allocations: 12.12 kB / 0.5202 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.2925, allocations: 6.859 kB / 0.5202 GB, free: 8.148 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 (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.478e-05/0.2926, allocations: 124.7 kB / 0.5203 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.2926, allocations: 7.406 kB / 0.5203 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.2928, allocations: 96.78 kB / 0.5204 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2928, allocations: 3.375 kB / 0.5204 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2928, allocations: 5.109 kB / 0.5204 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2928, allocations: 1.547 kB / 0.5204 GB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.2932, allocations: 359.5 kB / 0.5208 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2932, allocations: 0 / 0.5208 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.963e-05/0.2933, allocations: 17.95 kB / 0.5208 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2933, allocations: 2.016 kB / 0.5208 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.2933, allocations: 0.875 kB / 0.5208 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2933, allocations: 1.281 kB / 0.5208 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2933, allocations: 0 / 0.5208 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.2935, allocations: 193.8 kB / 0.521 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.2936, allocations: 88.86 kB / 0.521 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2936, allocations: 1.844 kB / 0.521 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.2937, allocations: 7.859 kB / 0.5211 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.2937, allocations: 4.5 kB / 0.5211 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2937, allocations: 2.062 kB / 0.5211 GB, free: 7.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.699e-05/0.2938, allocations: 117.1 kB / 0.5212 GB, free: 7.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2938, allocations: 0 / 0.5212 GB, free: 7.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.2941, allocations: 39.36 kB / 0.5212 GB, free: 7.367 MB / 346.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.0009216/0.295, allocations: 486.4 kB / 0.5217 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.2952, allocations: 55.19 kB / 0.5217 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2952, allocations: 0.5 kB / 0.5217 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.891e-05/0.2953, allocations: 36.84 kB / 0.5218 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.2956, allocations: 18.67 kB / 0.5218 GB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.296, allocations: 206.9 kB / 0.522 GB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.2961, allocations: 0.6967 MB / 0.5227 GB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.2961, allocations: 21.31 kB / 0.5227 GB, free: 6.246 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2961, allocations: 0 / 0.5227 GB, free: 6.246 MB / 346.7 MB Notification: Performance of Templates: time 0.003682/0.2998, allocations: 1.909 MB / 0.5245 GB, free: 6.035 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches