Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 190.5 kB / 16.78 MB, free: 4.914 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007524/0.0007521, allocations: 98.28 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3031/0.3031, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2857, allocations: 62.95 MB / 0.5165 GB, free: 36.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3883, allocations: 89.39 MB / 0.6038 GB, free: 20 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.3885, allocations: 72.05 kB / 0.6038 GB, free: 15.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01187/0.4004, allocations: 4.622 MB / 0.6083 GB, free: 11.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4005, allocations: 4 kB / 0.6084 GB, free: 11.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4005, allocations: 4 kB / 0.6084 GB, free: 11.31 MB / 426.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.0003937/0.4009, allocations: 407.4 kB / 0.6087 GB, free: 10.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.4009, allocations: 8.031 kB / 0.6088 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.401, allocations: 12.84 kB / 0.6088 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.4012, allocations: 208.6 kB / 0.609 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.4012, allocations: 384 / 0.609 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.4012, allocations: 4.375 kB / 0.609 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.4013, allocations: 57.81 kB / 0.609 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.4014, allocations: 3.938 kB / 0.609 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.4014, allocations: 0 / 0.609 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.4014, allocations: 0 / 0.609 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.117e-05/0.4015, allocations: 35.91 kB / 0.6091 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.4018, allocations: 292.9 kB / 0.6093 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.402, allocations: 46.55 kB / 0.6094 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.4021, allocations: 16.86 kB / 0.6094 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.4021, allocations: 0 / 0.6094 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4022, allocations: 42.58 kB / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.4022, allocations: 0 / 0.6094 GB, free: 10.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005547/0.4027, allocations: 165.3 kB / 0.6096 GB, free: 9.867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.4028, allocations: 55.34 kB / 0.6097 GB, free: 9.801 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.403, allocations: 179.1 kB / 0.6098 GB, free: 9.613 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.403, allocations: 25.7 kB / 0.6098 GB, free: 9.582 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.4031, allocations: 100 kB / 0.6099 GB, free: 9.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.4031, allocations: 11.8 kB / 0.61 GB, free: 9.469 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.4031, allocations: 0 / 0.61 GB, free: 9.469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4032, allocations: 326.8 kB / 0.6103 GB, free: 9.141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.4033, allocations: 27.98 kB / 0.6103 GB, free: 9.113 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.4034, allocations: 23.98 kB / 0.6103 GB, free: 9.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.4035, allocations: 56.83 kB / 0.6104 GB, free: 9.031 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.4035, allocations: 4 kB / 0.6104 GB, free: 9.027 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.4037, allocations: 97.56 kB / 0.6105 GB, free: 8.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4037, allocations: 4 kB / 0.6105 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4037, allocations: 4.219 kB / 0.6105 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.267e-06/0.4037, allocations: 0 / 0.6105 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.4038, allocations: 19.98 kB / 0.6105 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4038, allocations: 3.984 kB / 0.6105 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.221e-05/0.4039, allocations: 8 kB / 0.6105 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4039, allocations: 0 / 0.6105 GB, free: 8.887 MB / 426.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.38e-05/0.404, allocations: 137.6 kB / 0.6106 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.404, allocations: 11.89 kB / 0.6106 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.4043, allocations: 102 kB / 0.6107 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4043, allocations: 4 kB / 0.6107 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4043, allocations: 3.938 kB / 0.6108 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4043, allocations: 3.938 kB / 0.6108 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.4047, allocations: 371.9 kB / 0.6111 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.4047, allocations: 4.062 kB / 0.6111 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.4048, allocations: 19.98 kB / 0.6111 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4048, allocations: 0 / 0.6111 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4048, allocations: 4 kB / 0.6111 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4048, allocations: 3.938 kB / 0.6111 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4048, allocations: 0 / 0.6111 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.405, allocations: 199.3 kB / 0.6113 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.4051, allocations: 89.02 kB / 0.6114 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4051, allocations: 0 / 0.6114 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.4052, allocations: 11.92 kB / 0.6114 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.4052, allocations: 8 kB / 0.6114 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.4053, allocations: 0 / 0.6114 GB, free: 7.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.4054, allocations: 135.2 kB / 0.6116 GB, free: 7.695 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4054, allocations: 0 / 0.6116 GB, free: 7.695 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.4056, allocations: 16 kB / 0.6116 GB, free: 7.68 MB / 426.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.0007931/0.4064, allocations: 407.1 kB / 0.612 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.4066, allocations: 67.91 kB / 0.612 GB, free: 7.348 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4066, allocations: 0 / 0.612 GB, free: 7.348 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.886e-05/0.4067, allocations: 31.97 kB / 0.6121 GB, free: 7.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.407, allocations: 15.94 kB / 0.6121 GB, free: 7.301 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.4074, allocations: 242.8 kB / 0.6123 GB, free: 7.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.4076, allocations: 0.6965 MB / 0.613 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.4077, allocations: 19.44 kB / 0.613 GB, free: 6.289 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4077, allocations: 0 / 0.613 GB, free: 6.289 MB / 426.7 MB Notification: Performance of Templates: time 0.002725/0.4104, allocations: 1.517 MB / 0.6145 GB, free: 4.773 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches