Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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_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_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 199.8 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009321/0.000932, allocations: 102.6 kB / 297.5 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.4219/0.4219, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004095, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4467, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.5749, allocations: 89.38 MB / 0.6057 GB, free: 15.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.5751, allocations: 75.95 kB / 0.6058 GB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01352/0.5887, allocations: 5.339 MB / 0.611 GB, free: 10.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5887, allocations: 4 kB / 0.611 GB, free: 10.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.5887, allocations: 7.938 kB / 0.611 GB, free: 10.51 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.0005293/0.5893, allocations: 455 kB / 0.6114 GB, free: 10.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.5893, allocations: 8.031 kB / 0.6114 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.456e-05/0.5894, allocations: 20.75 kB / 0.6115 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.5898, allocations: 224.5 kB / 0.6117 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5898, allocations: 4.375 kB / 0.6117 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.5898, allocations: 384 / 0.6117 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.59, allocations: 66.22 kB / 0.6117 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.59, allocations: 4.125 kB / 0.6117 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.59, allocations: 3.938 kB / 0.6117 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.59, allocations: 0 / 0.6117 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.911e-05/0.5901, allocations: 31.97 kB / 0.6118 GB, free: 9.613 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.5906, allocations: 308.8 kB / 0.6121 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.5907, allocations: 46.5 kB / 0.6121 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.402e-05/0.5907, allocations: 20.94 kB / 0.6121 GB, free: 9.184 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.5908, allocations: 0 / 0.6121 GB, free: 9.184 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.5908, allocations: 30.56 kB / 0.6122 GB, free: 9.145 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5908, allocations: 4 kB / 0.6122 GB, free: 9.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000887/0.5917, allocations: 262.3 kB / 0.6124 GB, free: 8.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.5918, allocations: 55.48 kB / 0.6125 GB, free: 8.812 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.592, allocations: 267.8 kB / 0.6127 GB, free: 8.539 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.5921, allocations: 33.7 kB / 0.6128 GB, free: 8.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.5921, allocations: 120 kB / 0.6129 GB, free: 8.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.5922, allocations: 27.64 kB / 0.6129 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-06/0.5922, allocations: 0 / 0.6129 GB, free: 8.352 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5923, allocations: 330.8 kB / 0.6132 GB, free: 8.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.5924, allocations: 23.98 kB / 0.6132 GB, free: 7.996 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.5925, allocations: 35.97 kB / 0.6133 GB, free: 7.961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.5926, allocations: 68.72 kB / 0.6133 GB, free: 7.891 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5926, allocations: 0 / 0.6133 GB, free: 7.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000218/0.5928, allocations: 121.4 kB / 0.6135 GB, free: 7.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5929, allocations: 4 kB / 0.6135 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5929, allocations: 0 / 0.6135 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5929, allocations: 4 kB / 0.6135 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.593, allocations: 15.98 kB / 0.6135 GB, free: 7.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.593, allocations: 4 kB / 0.6135 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.5931, allocations: 4 kB / 0.6135 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5931, allocations: 15.94 kB / 0.6135 GB, free: 7.719 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.0001024/0.5932, allocations: 129.8 kB / 0.6136 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.5933, allocations: 19.81 kB / 0.6136 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.5936, allocations: 131.3 kB / 0.6138 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5936, allocations: 4 kB / 0.6138 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5936, allocations: 0 / 0.6138 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5936, allocations: 3.984 kB / 0.6138 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.5941, allocations: 447.2 kB / 0.6142 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5941, allocations: 4.031 kB / 0.6142 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.5942, allocations: 23.92 kB / 0.6142 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5942, allocations: 0 / 0.6142 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5942, allocations: 7.938 kB / 0.6142 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5942, allocations: 4 kB / 0.6142 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5943, allocations: 0 / 0.6142 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.5945, allocations: 212.2 kB / 0.6144 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.5946, allocations: 104.9 kB / 0.6145 GB, free: 6.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.5946, allocations: 7.938 kB / 0.6146 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.5947, allocations: 8 kB / 0.6146 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.5948, allocations: 11.92 kB / 0.6146 GB, free: 6.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.5948, allocations: 8 kB / 0.6146 GB, free: 6.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.595, allocations: 201.5 kB / 0.6148 GB, free: 6.305 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.595, allocations: 0 / 0.6148 GB, free: 6.305 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.5953, allocations: 35.94 kB / 0.6148 GB, free: 6.27 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.00107/0.5964, allocations: 456.7 kB / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.5966, allocations: 67.95 kB / 0.6153 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5966, allocations: 0 / 0.6153 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.5967, allocations: 43.98 kB / 0.6153 GB, free: 5.871 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.597, allocations: 20.88 kB / 0.6154 GB, free: 5.855 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/0.5977, allocations: 347.6 kB / 0.6157 GB, free: 5.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.598, allocations: 0.7199 MB / 0.6164 GB, free: 4.738 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.5981, allocations: 24.64 kB / 0.6164 GB, free: 4.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.5981, allocations: 15.44 kB / 0.6164 GB, free: 4.695 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5981, allocations: 0 / 0.6164 GB, free: 4.695 MB / 426.7 MB Notification: Performance of Templates: time 0.004332/0.6024, allocations: 1.503 MB / 0.6179 GB, free: 3.195 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches