Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009702/0.0009705, allocations: 200.4 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.288/1.288, 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.0008126/0.0008128, allocations: 97.55 kB / 295.1 MB, free: 4.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1848/0.1848, allocations: 44.84 MB / 392 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.0002609, allocations: 4 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09705, allocations: 62.96 MB / 0.5153 GB, free: 5.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.001389/0.09848, allocations: 1.311 MB / 0.5166 GB, free: 3.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006098/0.09911, allocations: 499.2 kB / 0.5171 GB, free: 3.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.09916, allocations: 4 kB / 0.5171 GB, free: 3.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.09939, allocations: 103.8 kB / 0.5172 GB, free: 3.195 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.09957, allocations: 95.75 kB / 0.5173 GB, free: 3.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.09979, allocations: 102.5 kB / 0.5174 GB, free: 3.004 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.0999, allocations: 75.73 kB / 0.5174 GB, free: 2.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.09999, allocations: 19.97 kB / 0.5175 GB, free: 2.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.276e-05/0.1, allocations: 31.89 kB / 0.5175 GB, free: 2.879 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.1001, allocations: 51.83 kB / 0.5175 GB, free: 2.828 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1001, allocations: 4 kB / 0.5175 GB, free: 2.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.848e-05/0.1002, allocations: 43.92 kB / 0.5176 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.1003, allocations: 27.91 kB / 0.5176 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.1003, allocations: 37.64 kB / 0.5176 GB, free: 2.711 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.1004, allocations: 79.88 kB / 0.5177 GB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1004, allocations: 0 / 0.5177 GB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1004, allocations: 0 / 0.5177 GB, free: 2.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1004, allocations: 0 / 0.5177 GB, free: 2.633 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.0003421/0.1008, allocations: 419 kB / 0.5181 GB, free: 2.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1008, allocations: 12.03 kB / 0.5181 GB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.1008, allocations: 19.81 kB / 0.5182 GB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.101, allocations: 203.6 kB / 0.5183 GB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-06/0.101, allocations: 0 / 0.5183 GB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.101, allocations: 4 kB / 0.5184 GB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1011, allocations: 61.61 kB / 0.5184 GB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1012, allocations: 3.984 kB / 0.5184 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.1012, allocations: 0 / 0.5184 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1012, allocations: 3.938 kB / 0.5184 GB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.508e-05/0.1013, allocations: 31.98 kB / 0.5185 GB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.1016, allocations: 308.7 kB / 0.5187 GB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.1017, allocations: 54.5 kB / 0.5188 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.1017, allocations: 16.94 kB / 0.5188 GB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1018, allocations: 4 kB / 0.5188 GB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.1018, allocations: 34.56 kB / 0.5188 GB, free: 1.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1018, allocations: 0 / 0.5188 GB, free: 1.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007951/0.1026, allocations: 277 kB / 0.5191 GB, free: 1.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.1026, allocations: 55.36 kB / 0.5192 GB, free: 0.9688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1028, allocations: 250.3 kB / 0.5194 GB, free: 0.7148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1028, allocations: 29.7 kB / 0.5194 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.1029, allocations: 112 kB / 0.5195 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.1029, allocations: 27.64 kB / 0.5196 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1029, allocations: 0 / 0.5196 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.1029, allocations: 334.8 kB / 0.5199 GB, free: 208 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.533e-05/0.103, allocations: 27.98 kB / 0.5199 GB, free: 180 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.1031, allocations: 35.97 kB / 0.5199 GB, free: 144 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.1032, allocations: 36.22 kB / 0.52 GB, free: 108 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1032, allocations: 4 kB / 0.52 GB, free: 104 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002149/0.1034, allocations: 129.4 kB / 0.5201 GB, free: 15.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1034, allocations: 4 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1034, allocations: 3.938 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1035, allocations: 0 / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1036, allocations: 19.98 kB / 0.5201 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1036, allocations: 7.953 kB / 0.5201 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.1036, allocations: 15.92 kB / 0.5202 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1036, allocations: 0 / 0.5202 GB, free: 15.92 MB / 362.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 9.486e-05/0.1037, allocations: 133.8 kB / 0.5203 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.1038, allocations: 11.81 kB / 0.5203 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.1041, allocations: 139 kB / 0.5204 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1041, allocations: 0 / 0.5204 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1041, allocations: 0 / 0.5204 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1041, allocations: 7.938 kB / 0.5204 GB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.1046, allocations: 435.3 kB / 0.5209 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1046, allocations: 0 / 0.5209 GB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.1047, allocations: 23.92 kB / 0.5209 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1047, allocations: 0 / 0.5209 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1047, allocations: 7.953 kB / 0.5209 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1047, allocations: 4 kB / 0.5209 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1047, allocations: 0 / 0.5209 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1049, allocations: 220.2 kB / 0.5211 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.105, allocations: 97.27 kB / 0.5212 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.105, allocations: 4 kB / 0.5212 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.1051, allocations: 15.95 kB / 0.5212 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.1052, allocations: 11.92 kB / 0.5212 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1052, allocations: 0 / 0.5212 GB, free: 14.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1053, allocations: 192.3 kB / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1053, allocations: 0 / 0.5214 GB, free: 14.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.1055, allocations: 20 kB / 0.5214 GB, free: 14.52 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.000855/0.1064, allocations: 461.5 kB / 0.5219 GB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1066, allocations: 83.94 kB / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1067, allocations: 0 / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1068, allocations: 43.92 kB / 0.522 GB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.107, allocations: 17.59 kB / 0.522 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004565/0.1075, allocations: 348.3 kB / 0.5223 GB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1078, allocations: 0.716 MB / 0.523 GB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.1078, allocations: 15.44 kB / 0.523 GB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 2e-07/0.1078, allocations: 4 kB / 0.5231 GB, free: 12.95 MB / 362.7 MB Notification: Performance of Templates: time 0.003141/0.111, allocations: 1.865 MB / 0.5249 GB, free: 11.08 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches