Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009782/0.0009782, allocations: 200 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.247/1.247, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007639/0.0007639, allocations: 101.6 kB / 295.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1762/0.1762, allocations: 44.84 MB / 392 MB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002222/0.0002223, allocations: 11.98 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08607, allocations: 62.95 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001636/0.08773, allocations: 1.346 MB / 0.5166 GB, free: 1.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007431/0.08849, allocations: 0.5188 MB / 0.5171 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.08855, allocations: 0 / 0.5171 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.089, allocations: 451.2 kB / 0.5176 GB, free: 440 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.08931, allocations: 267.4 kB / 0.5178 GB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.08966, allocations: 157.6 kB / 0.518 GB, free: 20 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1736/0.2633, allocations: 137.7 kB / 0.5181 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2634, allocations: 13.69 kB / 0.5181 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.2636, allocations: 108.6 kB / 0.5182 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.2638, allocations: 171 kB / 0.5184 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.2638, allocations: 1.125 kB / 0.5184 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.2639, allocations: 32.14 kB / 0.5184 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2641, allocations: 84.55 kB / 0.5185 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.2641, allocations: 67.77 kB / 0.5186 GB, free: 10.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.2644, allocations: 186.8 kB / 0.5187 GB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2644, allocations: 1.875 kB / 0.5188 GB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2644, allocations: 0 / 0.5188 GB, free: 10.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2644, allocations: 3.891 kB / 0.5188 GB, free: 10.19 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.0005713/0.265, allocations: 0.6038 MB / 0.5193 GB, free: 9.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.265, allocations: 12.75 kB / 0.5194 GB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.2651, allocations: 42.16 kB / 0.5194 GB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.2653, allocations: 282.2 kB / 0.5197 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2653, allocations: 1.594 kB / 0.5197 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.2653, allocations: 6.875 kB / 0.5197 GB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2655, allocations: 66 kB / 0.5197 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2655, allocations: 0.625 kB / 0.5197 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2655, allocations: 2.75 kB / 0.5197 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2656, allocations: 0 / 0.5197 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.2657, allocations: 50.92 kB / 0.5198 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.2662, allocations: 405.8 kB / 0.5202 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.2663, allocations: 54.8 kB / 0.5202 GB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/0.2664, allocations: 29.11 kB / 0.5203 GB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.2664, allocations: 2.375 kB / 0.5203 GB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.2665, allocations: 33.58 kB / 0.5203 GB, free: 9.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2665, allocations: 0 / 0.5203 GB, free: 9.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008263/0.2673, allocations: 351.3 kB / 0.5206 GB, free: 8.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/0.2673, allocations: 59.11 kB / 0.5207 GB, free: 8.852 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/0.2682, allocations: 0.8651 MB / 0.5215 GB, free: 8.734 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2682, allocations: 31.64 kB / 0.5216 GB, free: 8.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2683, allocations: 218.5 kB / 0.5218 GB, free: 8.613 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.2683, allocations: 20.75 kB / 0.5218 GB, free: 8.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.2683, allocations: 0 / 0.5218 GB, free: 8.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.2684, allocations: 362.4 kB / 0.5221 GB, free: 8.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2686, allocations: 42.5 kB / 0.5222 GB, free: 8.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2687, allocations: 49.8 kB / 0.5222 GB, free: 8.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.2688, allocations: 45.67 kB / 0.5223 GB, free: 8.285 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.2688, allocations: 5.703 kB / 0.5223 GB, free: 8.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003016/0.2691, allocations: 172.6 kB / 0.5224 GB, free: 8.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2691, allocations: 4.969 kB / 0.5224 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2692, allocations: 7.516 kB / 0.5224 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2692, allocations: 1.219 kB / 0.5224 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2693, allocations: 23.17 kB / 0.5225 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2693, allocations: 0 / 0.5225 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.2694, allocations: 20.19 kB / 0.5225 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2694, allocations: 2.891 kB / 0.5225 GB, free: 8.215 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 (7): * Single equations (assignments): 7 * 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.0001562/0.2696, allocations: 221 kB / 0.5227 GB, free: 8.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.2696, allocations: 41.53 kB / 0.5227 GB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.27, allocations: 201.3 kB / 0.5229 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.27, allocations: 0.75 kB / 0.5229 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.27, allocations: 1.219 kB / 0.5229 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.27, allocations: 0.6562 kB / 0.5229 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/0.2706, allocations: 0.5242 MB / 0.5234 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2706, allocations: 1.094 kB / 0.5234 GB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.2707, allocations: 30.98 kB / 0.5235 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2707, allocations: 0 / 0.5235 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2707, allocations: 5.062 kB / 0.5235 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2708, allocations: 4.297 kB / 0.5235 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2708, allocations: 3.953 kB / 0.5235 GB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.2711, allocations: 269.8 kB / 0.5237 GB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2711, allocations: 111.7 kB / 0.5239 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.2712, allocations: 4.766 kB / 0.5239 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2713, allocations: 13.34 kB / 0.5239 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2713, allocations: 8.859 kB / 0.5239 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.2713, allocations: 2.344 kB / 0.5239 GB, free: 7.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005874/0.2719, allocations: 0.6572 MB / 0.5245 GB, free: 7.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2719, allocations: 3.938 kB / 0.5245 GB, free: 7.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.2722, allocations: 24.61 kB / 0.5245 GB, free: 7.336 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 (7): * Single equations (assignments): 7 * 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.0007055/0.2729, allocations: 407.5 kB / 0.5249 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003073/0.2732, allocations: 109.2 kB / 0.525 GB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.2732, allocations: 1.531 kB / 0.525 GB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.2733, allocations: 61.92 kB / 0.5251 GB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.2737, allocations: 25.47 kB / 0.5251 GB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.2747, allocations: 0.8954 MB / 0.526 GB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.275, allocations: 0.8266 MB / 0.5268 GB, free: 6.031 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.2751, allocations: 17.72 kB / 0.5268 GB, free: 6.02 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2751, allocations: 1.156 kB / 0.5268 GB, free: 6.02 MB / 346.7 MB Notification: Performance of Templates: time 0.006638/0.2817, allocations: 3.849 MB / 0.5306 GB, free: 5.207 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches