Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009192/0.0009192, allocations: 203.7 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.6 MB / 243.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007896/0.0007897, allocations: 95.58 kB / 295.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1862/0.1862, allocations: 44.84 MB / 392 MB, free: 9.363 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002478, allocations: 8 kB / 464.7 MB, free: 49.8 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08785, allocations: 62.95 MB / 0.5153 GB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001708/0.08959, allocations: 1.342 MB / 0.5166 GB, free: 1.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.09046, allocations: 0.5149 MB / 0.5171 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.09055, allocations: 4 kB / 0.5171 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.09104, allocations: 447.2 kB / 0.5176 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.09144, allocations: 271.4 kB / 0.5178 GB, free: 236 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.09183, allocations: 154.6 kB / 0.518 GB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1697/0.2615, allocations: 125.2 kB / 0.5181 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.2617, allocations: 24.92 kB / 0.5181 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.2618, allocations: 104 kB / 0.5182 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.2621, allocations: 169.8 kB / 0.5184 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.2621, allocations: 2.891 kB / 0.5184 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.2623, allocations: 27.36 kB / 0.5184 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.2624, allocations: 85.64 kB / 0.5185 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.2624, allocations: 68.36 kB / 0.5186 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.2627, allocations: 183.2 kB / 0.5187 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2627, allocations: 0.5156 kB / 0.5187 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2627, allocations: 0.6562 kB / 0.5187 GB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2627, allocations: 0.5 kB / 0.5187 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006186/0.2634, allocations: 0.6005 MB / 0.5193 GB, free: 9.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2634, allocations: 9.656 kB / 0.5193 GB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.2635, allocations: 42.41 kB / 0.5194 GB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2637, allocations: 276.8 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2637, allocations: 8.031 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2638, allocations: 3.906 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2639, allocations: 56.05 kB / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.2639, allocations: 1.188 kB / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/0.2639, allocations: 1.344 kB / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2639, allocations: 0.9688 kB / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2641, allocations: 36.12 kB / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.2645, allocations: 398.7 kB / 0.5201 GB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.2647, allocations: 47.33 kB / 0.5202 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.2648, allocations: 23.36 kB / 0.5202 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2648, allocations: 2.625 kB / 0.5202 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.2649, allocations: 35.84 kB / 0.5202 GB, free: 9.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.2649, allocations: 1.531 kB / 0.5202 GB, free: 9.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006239/0.2655, allocations: 255.2 kB / 0.5205 GB, free: 8.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.2655, allocations: 56.83 kB / 0.5205 GB, free: 8.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.2664, allocations: 0.8657 MB / 0.5214 GB, free: 8.758 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.2664, allocations: 28.45 kB / 0.5214 GB, free: 8.727 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2665, allocations: 221.2 kB / 0.5216 GB, free: 8.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.2666, allocations: 22.59 kB / 0.5216 GB, free: 8.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.2666, allocations: 1.438 kB / 0.5216 GB, free: 8.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.2667, allocations: 360.3 kB / 0.522 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.2667, allocations: 24.2 kB / 0.522 GB, free: 8.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.2668, allocations: 24.56 kB / 0.522 GB, free: 8.316 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.2669, allocations: 38.23 kB / 0.522 GB, free: 8.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2669, allocations: 0 / 0.522 GB, free: 8.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002362/0.2672, allocations: 132.1 kB / 0.5222 GB, free: 8.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.2672, allocations: 5.078 kB / 0.5222 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2672, allocations: 1.156 kB / 0.5222 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2672, allocations: 4 kB / 0.5222 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.621e-05/0.2673, allocations: 14.11 kB / 0.5222 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2673, allocations: 3.844 kB / 0.5222 GB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.231e-05/0.2674, allocations: 14.7 kB / 0.5222 GB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.2674, allocations: 1.125 kB / 0.5222 GB, free: 8.242 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 0.0001668/0.2675, allocations: 212.6 kB / 0.5224 GB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.2676, allocations: 43.84 kB / 0.5225 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.2679, allocations: 157.4 kB / 0.5226 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2679, allocations: 2.141 kB / 0.5226 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2679, allocations: 0 / 0.5226 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2679, allocations: 0.5625 kB / 0.5226 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.2684, allocations: 478.1 kB / 0.5231 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2684, allocations: 0 / 0.5231 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.2685, allocations: 15.88 kB / 0.5231 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2685, allocations: 0.9688 kB / 0.5231 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2685, allocations: 4.531 kB / 0.5231 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2685, allocations: 5.156 kB / 0.5231 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2685, allocations: 3.953 kB / 0.5231 GB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.2687, allocations: 224.9 kB / 0.5233 GB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.2688, allocations: 119.8 kB / 0.5234 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.2688, allocations: 8.062 kB / 0.5234 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.2689, allocations: 7.109 kB / 0.5234 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.269, allocations: 7.469 kB / 0.5235 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.269, allocations: 3.062 kB / 0.5235 GB, free: 7.469 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005861/0.2696, allocations: 0.6552 MB / 0.5241 GB, free: 7.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2696, allocations: 1.875 kB / 0.5241 GB, free: 7.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.2698, allocations: 20.64 kB / 0.5241 GB, free: 7.383 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.0007379/0.2706, allocations: 403.1 kB / 0.5245 GB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.2708, allocations: 58.94 kB / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2708, allocations: 0 / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.2709, allocations: 32 kB / 0.5246 GB, free: 7.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.2712, allocations: 32.33 kB / 0.5246 GB, free: 7.172 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2722, allocations: 0.8759 MB / 0.5255 GB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.2725, allocations: 0.8235 MB / 0.5263 GB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.2726, allocations: 14.94 kB / 0.5263 GB, free: 6.098 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2726, allocations: 0 / 0.5263 GB, free: 6.098 MB / 346.7 MB Notification: Performance of Templates: time 0.006293/0.2789, allocations: 3.715 MB / 0.5299 GB, free: 5.316 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches