Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,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.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,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.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009478/0.0009478, 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.295/1.295, 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.0007596/0.0007597, allocations: 96.03 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.1921/0.1921, allocations: 44.83 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002409, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09174, allocations: 62.95 MB / 0.5153 GB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001648/0.09343, allocations: 1.288 MB / 0.5166 GB, free: 1.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.09417, allocations: 495.3 kB / 0.5171 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.09423, allocations: 0 / 0.5171 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.0944, allocations: 23.92 kB / 0.5171 GB, free: 0.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.0946, allocations: 67.69 kB / 0.5171 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.09484, allocations: 94.06 kB / 0.5172 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.09495, allocations: 51.84 kB / 0.5173 GB, free: 0.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.65e-05/0.09503, allocations: 23.97 kB / 0.5173 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.09508, allocations: 15.88 kB / 0.5173 GB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.09514, allocations: 23.84 kB / 0.5173 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.09516, allocations: 4 kB / 0.5173 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.261e-05/0.09523, allocations: 27.92 kB / 0.5174 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.09527, allocations: 4 kB / 0.5174 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.0953, allocations: 37.64 kB / 0.5174 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.09541, allocations: 59.91 kB / 0.5175 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09542, allocations: 0 / 0.5175 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.09543, allocations: 8 kB / 0.5175 GB, free: 0.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.09544, allocations: 0 / 0.5175 GB, free: 0.543 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.0004764/0.09592, allocations: 379.3 kB / 0.5178 GB, free: 128 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.09596, allocations: 8.031 kB / 0.5178 GB, free: 120 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.096, allocations: 7.906 kB / 0.5179 GB, free: 112 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.199/0.295, allocations: 187.4 kB / 0.518 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.2951, allocations: 1.625 kB / 0.518 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.2952, allocations: 5.297 kB / 0.518 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.2954, allocations: 51.44 kB / 0.5181 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2954, allocations: 0.75 kB / 0.5181 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2954, allocations: 0.6875 kB / 0.5181 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.2954, allocations: 1.422 kB / 0.5181 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.2956, allocations: 30.55 kB / 0.5181 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.2961, allocations: 284.8 kB / 0.5184 GB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.2964, allocations: 52.64 kB / 0.5184 GB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.64e-05/0.2965, allocations: 19.94 kB / 0.5185 GB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.2965, allocations: 1.266 kB / 0.5185 GB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.2965, allocations: 33.12 kB / 0.5185 GB, free: 11.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.2966, allocations: 0 / 0.5185 GB, free: 11.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008247/0.2974, allocations: 173.7 kB / 0.5187 GB, free: 11.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2974, allocations: 53.12 kB / 0.5187 GB, free: 11.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.2976, allocations: 167.2 kB / 0.5189 GB, free: 11.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2977, allocations: 27.27 kB / 0.5189 GB, free: 11.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.2977, allocations: 95.95 kB / 0.519 GB, free: 11.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2978, allocations: 15.5 kB / 0.519 GB, free: 11.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.2978, allocations: 3.938 kB / 0.519 GB, free: 11.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.2978, allocations: 324.3 kB / 0.5193 GB, free: 10.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.298, allocations: 28.42 kB / 0.5193 GB, free: 10.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.2981, allocations: 27.88 kB / 0.5194 GB, free: 10.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2982, allocations: 27.92 kB / 0.5194 GB, free: 10.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2982, allocations: 0 / 0.5194 GB, free: 10.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002724/0.2985, allocations: 101.2 kB / 0.5195 GB, free: 10.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2985, allocations: 6.766 kB / 0.5195 GB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2986, allocations: 1.062 kB / 0.5195 GB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2986, allocations: 0.6094 kB / 0.5195 GB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.2987, allocations: 14.69 kB / 0.5195 GB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.2987, allocations: 0.9375 kB / 0.5195 GB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.2988, allocations: 11.72 kB / 0.5195 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2988, allocations: 4.484 kB / 0.5195 GB, free: 10.71 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 8.16e-05/0.2989, allocations: 126.3 kB / 0.5196 GB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.2989, allocations: 7.438 kB / 0.5197 GB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.2993, allocations: 107.3 kB / 0.5198 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.2993, allocations: 2.219 kB / 0.5198 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2993, allocations: 0 / 0.5198 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2993, allocations: 0 / 0.5198 GB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.2999, allocations: 366.2 kB / 0.5201 GB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2999, allocations: 6.891 kB / 0.5201 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.3, allocations: 18.02 kB / 0.5201 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3, allocations: 1.438 kB / 0.5201 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3, allocations: 0.625 kB / 0.5201 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3, allocations: 1.297 kB / 0.5201 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3001, allocations: 1.594 kB / 0.5201 GB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.3003, allocations: 198.3 kB / 0.5203 GB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.3004, allocations: 87.64 kB / 0.5204 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.3004, allocations: 1.625 kB / 0.5204 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.3005, allocations: 12.52 kB / 0.5204 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.3005, allocations: 3.594 kB / 0.5204 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3005, allocations: 1.766 kB / 0.5204 GB, free: 9.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.033e-05/0.3006, allocations: 129.2 kB / 0.5206 GB, free: 9.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3006, allocations: 0 / 0.5206 GB, free: 9.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.3009, allocations: 16.38 kB / 0.5206 GB, free: 9.914 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.0007762/0.3016, allocations: 400.7 kB / 0.5209 GB, free: 9.719 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.3019, allocations: 65.16 kB / 0.521 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3019, allocations: 0 / 0.521 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.822e-05/0.302, allocations: 34.17 kB / 0.521 GB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3023, allocations: 14.38 kB / 0.5211 GB, free: 9.707 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.3027, allocations: 227.9 kB / 0.5213 GB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.3028, allocations: 0.7011 MB / 0.522 GB, free: 8.832 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.3028, allocations: 13.33 kB / 0.522 GB, free: 8.824 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3029, allocations: 0 / 0.522 GB, free: 8.824 MB / 346.7 MB Notification: Performance of Templates: time 0.003312/0.3062, allocations: 1.466 MB / 0.5234 GB, free: 8.668 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches