Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 193.2 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.5 MB / 244.1 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007805/0.0007805, allocations: 96.52 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2882/0.2882, allocations: 44.81 MB / 392.9 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002647, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3637, allocations: 62.96 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4858, allocations: 89.38 MB / 0.6038 GB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.486, allocations: 71.91 kB / 0.6038 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01318/0.4992, allocations: 5.342 MB / 0.609 GB, free: 10.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4993, allocations: 0 / 0.609 GB, free: 10.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4993, allocations: 4 kB / 0.609 GB, free: 10.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004514/0.4997, allocations: 462.9 kB / 0.6095 GB, free: 10.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4998, allocations: 12.88 kB / 0.6095 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.4998, allocations: 12.75 kB / 0.6095 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.5001, allocations: 228.5 kB / 0.6097 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.5001, allocations: 8.375 kB / 0.6097 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.5001, allocations: 384 / 0.6097 GB, free: 9.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.5003, allocations: 54.23 kB / 0.6098 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5003, allocations: 192 / 0.6098 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5003, allocations: 11.88 kB / 0.6098 GB, free: 9.699 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.5003, allocations: 4 kB / 0.6098 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.33e-05/0.5004, allocations: 31.97 kB / 0.6098 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.5008, allocations: 308.8 kB / 0.6101 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.5009, allocations: 46.5 kB / 0.6102 GB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.5009, allocations: 12.86 kB / 0.6102 GB, free: 9.242 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.501, allocations: 8.078 kB / 0.6102 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.501, allocations: 38.56 kB / 0.6102 GB, free: 9.188 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.501, allocations: 0 / 0.6102 GB, free: 9.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008196/0.5018, allocations: 250.5 kB / 0.6105 GB, free: 8.938 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.5019, allocations: 59.39 kB / 0.6105 GB, free: 8.867 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.5022, allocations: 271.8 kB / 0.6108 GB, free: 8.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.5022, allocations: 25.7 kB / 0.6108 GB, free: 8.559 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.5022, allocations: 116 kB / 0.6109 GB, free: 8.441 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.5023, allocations: 27.72 kB / 0.6109 GB, free: 8.414 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.5023, allocations: 0 / 0.6109 GB, free: 8.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5024, allocations: 330.8 kB / 0.6113 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.5025, allocations: 35.97 kB / 0.6113 GB, free: 8.047 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.5026, allocations: 32 kB / 0.6113 GB, free: 8.016 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.5027, allocations: 76.91 kB / 0.6114 GB, free: 7.938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5027, allocations: 0 / 0.6114 GB, free: 7.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002095/0.5029, allocations: 109.5 kB / 0.6115 GB, free: 7.824 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.503, allocations: 8 kB / 0.6115 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.503, allocations: 0 / 0.6115 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.503, allocations: 3.984 kB / 0.6115 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.5031, allocations: 19.98 kB / 0.6115 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.5031, allocations: 4 kB / 0.6115 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.5032, allocations: 11.98 kB / 0.6115 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.5032, allocations: 4 kB / 0.6116 GB, free: 7.773 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 (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 0.0001004/0.5033, allocations: 141.7 kB / 0.6117 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.5033, allocations: 15.81 kB / 0.6117 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.5036, allocations: 131 kB / 0.6118 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5036, allocations: 0 / 0.6118 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5036, allocations: 0 / 0.6118 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5036, allocations: 7.938 kB / 0.6118 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.5042, allocations: 443.2 kB / 0.6123 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5042, allocations: 0 / 0.6123 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.5043, allocations: 23.92 kB / 0.6123 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5043, allocations: 0 / 0.6123 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5043, allocations: 7.938 kB / 0.6123 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5043, allocations: 0 / 0.6123 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5043, allocations: 0 / 0.6123 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.5046, allocations: 220.4 kB / 0.6125 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.5046, allocations: 104.9 kB / 0.6126 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.5047, allocations: 7.938 kB / 0.6126 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.5048, allocations: 12 kB / 0.6126 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.5048, allocations: 7.984 kB / 0.6126 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.5048, allocations: 0 / 0.6126 GB, free: 6.559 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.505, allocations: 209.4 kB / 0.6128 GB, free: 6.355 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.505, allocations: 0 / 0.6128 GB, free: 6.355 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002525/0.5053, allocations: 35.88 kB / 0.6129 GB, free: 6.32 MB / 426.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.0008789/0.5061, allocations: 457.4 kB / 0.6133 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.5064, allocations: 67.95 kB / 0.6134 GB, free: 5.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5064, allocations: 4 kB / 0.6134 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.5065, allocations: 39.92 kB / 0.6134 GB, free: 5.922 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.5068, allocations: 27.28 kB / 0.6134 GB, free: 5.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.5073, allocations: 373.1 kB / 0.6138 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.5076, allocations: 0.7266 MB / 0.6145 GB, free: 4.746 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.5076, allocations: 19.38 kB / 0.6145 GB, free: 4.727 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5076, allocations: 0 / 0.6145 GB, free: 4.727 MB / 426.7 MB Notification: Performance of Templates: time 0.003292/0.5109, allocations: 1.992 MB / 0.6165 GB, free: 2.734 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches