Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009908/0.0009908, allocations: 200.9 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007327/0.0007327, allocations: 106.4 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002427, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.0986, allocations: 62.96 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001588/0.1002, allocations: 1.288 MB / 0.5166 GB, free: 1.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1015, allocations: 1.062 MB / 0.5176 GB, free: 392 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.1016, allocations: 0 / 0.5176 GB, free: 392 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.1018, allocations: 19.94 kB / 0.5176 GB, free: 372 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.102, allocations: 75.69 kB / 0.5177 GB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.1022, allocations: 79.83 kB / 0.5178 GB, free: 216 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1023, allocations: 51.84 kB / 0.5178 GB, free: 164 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.1024, allocations: 11.98 kB / 0.5178 GB, free: 152 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.1025, allocations: 23.86 kB / 0.5179 GB, free: 128 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1026, allocations: 31.83 kB / 0.5179 GB, free: 96 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1026, allocations: 4 kB / 0.5179 GB, free: 92 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1027, allocations: 79.95 kB / 0.518 GB, free: 12 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.1028, allocations: 11.92 kB / 0.518 GB, free: 0 / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1877/0.2905, allocations: 31.27 kB / 0.518 GB, free: 9.902 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.291, allocations: 90.83 kB / 0.5181 GB, free: 9.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.291, allocations: 1.109 kB / 0.5181 GB, free: 9.902 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.291, allocations: 0 / 0.5181 GB, free: 9.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.291, allocations: 0.5312 kB / 0.5181 GB, free: 9.902 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.0005263/0.2915, allocations: 394.8 kB / 0.5185 GB, free: 9.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.2916, allocations: 12.53 kB / 0.5185 GB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.2916, allocations: 8.5 kB / 0.5185 GB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.2918, allocations: 185.2 kB / 0.5187 GB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2919, allocations: 2.875 kB / 0.5187 GB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.2919, allocations: 1.938 kB / 0.5187 GB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.2921, allocations: 66.86 kB / 0.5188 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2921, allocations: 6.188 kB / 0.5188 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2921, allocations: 2.625 kB / 0.5188 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2921, allocations: 1.719 kB / 0.5188 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.2922, allocations: 27.25 kB / 0.5188 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.2926, allocations: 284 kB / 0.5191 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.2928, allocations: 50.31 kB / 0.5191 GB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.2929, allocations: 20.92 kB / 0.5191 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2929, allocations: 0 / 0.5191 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.2929, allocations: 32.23 kB / 0.5192 GB, free: 8.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.2929, allocations: 0.5625 kB / 0.5192 GB, free: 8.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005774/0.2935, allocations: 154.9 kB / 0.5193 GB, free: 8.887 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.2936, allocations: 82.62 kB / 0.5194 GB, free: 8.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2937, allocations: 148.7 kB / 0.5195 GB, free: 8.691 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.2937, allocations: 26.94 kB / 0.5196 GB, free: 8.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.819e-05/0.2938, allocations: 97.94 kB / 0.5196 GB, free: 8.574 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.2938, allocations: 18.36 kB / 0.5197 GB, free: 8.562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.2938, allocations: 2 kB / 0.5197 GB, free: 8.562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.2939, allocations: 318.2 kB / 0.52 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.2939, allocations: 20.95 kB / 0.52 GB, free: 8.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.294, allocations: 39.56 kB / 0.52 GB, free: 8.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.2941, allocations: 24.88 kB / 0.5201 GB, free: 8.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2941, allocations: 3.75 kB / 0.5201 GB, free: 8.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001865/0.2943, allocations: 88.75 kB / 0.5201 GB, free: 8.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2943, allocations: 9.75 kB / 0.5201 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2943, allocations: 0.5469 kB / 0.5201 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2944, allocations: 1.453 kB / 0.5201 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.2944, allocations: 15 kB / 0.5202 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2944, allocations: 0.5 kB / 0.5202 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.2945, allocations: 8.75 kB / 0.5202 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2945, allocations: 9.516 kB / 0.5202 GB, free: 8.184 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 6.324e-05/0.2946, allocations: 119.3 kB / 0.5203 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.2946, allocations: 7.719 kB / 0.5203 GB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.2949, allocations: 97.58 kB / 0.5204 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.2949, allocations: 1.688 kB / 0.5204 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2949, allocations: 0.7031 kB / 0.5204 GB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2949, allocations: 4 kB / 0.5204 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.2953, allocations: 358 kB / 0.5207 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2953, allocations: 1.031 kB / 0.5207 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.993e-05/0.2954, allocations: 16.95 kB / 0.5208 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2954, allocations: 1.469 kB / 0.5208 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2954, allocations: 5.375 kB / 0.5208 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2954, allocations: 1.406 kB / 0.5208 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2954, allocations: 0 / 0.5208 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2956, allocations: 191.1 kB / 0.521 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.2957, allocations: 93.83 kB / 0.521 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.2957, allocations: 1.688 kB / 0.521 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-05/0.2958, allocations: 6.969 kB / 0.521 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.2958, allocations: 4.766 kB / 0.5211 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.2958, allocations: 6.062 kB / 0.5211 GB, free: 7.484 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.987e-05/0.2959, allocations: 117.9 kB / 0.5212 GB, free: 7.406 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2959, allocations: 0.625 kB / 0.5212 GB, free: 7.406 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.2962, allocations: 34.17 kB / 0.5212 GB, free: 7.402 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.0008968/0.2971, allocations: 495.8 kB / 0.5217 GB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.2973, allocations: 52.89 kB / 0.5217 GB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2973, allocations: 0 / 0.5217 GB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.182e-05/0.2974, allocations: 34.41 kB / 0.5218 GB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2977, allocations: 15.89 kB / 0.5218 GB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003366/0.298, allocations: 203.7 kB / 0.522 GB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2982, allocations: 0.6902 MB / 0.5226 GB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.238e-05/0.2982, allocations: 21.64 kB / 0.5227 GB, free: 6.285 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2982, allocations: 4.812 kB / 0.5227 GB, free: 6.281 MB / 346.7 MB Notification: Performance of Templates: time 0.003656/0.3019, allocations: 1.907 MB / 0.5245 GB, free: 6.074 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches