Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001983/0.001983, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 226.5 MB / 245.4 MB, free: 8.246 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007697/0.0007698, allocations: 105.5 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3595/0.3595, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003328, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4497, allocations: 62.96 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.5821, allocations: 89.57 MB / 0.6059 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5824, allocations: 79.94 kB / 0.606 GB, free: 15.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01379/0.5962, allocations: 5.465 MB / 0.6113 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5962, allocations: 4 kB / 0.6113 GB, free: 10.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.5962, allocations: 8 kB / 0.6113 GB, free: 10.19 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.0004053/0.5966, allocations: 399.5 kB / 0.6117 GB, free: 9.746 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.5967, allocations: 8.031 kB / 0.6117 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.5967, allocations: 4.938 kB / 0.6117 GB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.597, allocations: 208 kB / 0.6119 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.597, allocations: 384 / 0.6119 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.597, allocations: 4.375 kB / 0.6119 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.5972, allocations: 67.95 kB / 0.612 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5972, allocations: 192 / 0.612 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.5972, allocations: 3.938 kB / 0.612 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5973, allocations: 0 / 0.612 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.651e-05/0.5973, allocations: 27.98 kB / 0.612 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.5977, allocations: 276.9 kB / 0.6123 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.5979, allocations: 46.5 kB / 0.6123 GB, free: 9.004 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.598, allocations: 16.86 kB / 0.6123 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.598, allocations: 0 / 0.6123 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.598, allocations: 42.64 kB / 0.6124 GB, free: 8.934 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.598, allocations: 4 kB / 0.6124 GB, free: 8.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005489/0.5986, allocations: 157.3 kB / 0.6125 GB, free: 8.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.5987, allocations: 77.11 kB / 0.6126 GB, free: 8.676 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.5988, allocations: 145.8 kB / 0.6127 GB, free: 8.523 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.5988, allocations: 25.7 kB / 0.6128 GB, free: 8.492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.5989, allocations: 100 kB / 0.6129 GB, free: 8.391 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.5989, allocations: 15.69 kB / 0.6129 GB, free: 8.375 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.5989, allocations: 4 kB / 0.6129 GB, free: 8.371 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5991, allocations: 324 kB / 0.6132 GB, free: 8.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.5992, allocations: 27.98 kB / 0.6132 GB, free: 8.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/0.5993, allocations: 33.7 kB / 0.6132 GB, free: 7.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.5994, allocations: 52.88 kB / 0.6133 GB, free: 7.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5994, allocations: 0 / 0.6133 GB, free: 7.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001871/0.5996, allocations: 89.56 kB / 0.6134 GB, free: 7.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.5996, allocations: 4 kB / 0.6134 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5996, allocations: 0 / 0.6134 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5997, allocations: 4 kB / 0.6134 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.5997, allocations: 19.92 kB / 0.6134 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5998, allocations: 0 / 0.6134 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.5998, allocations: 11.94 kB / 0.6134 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.5998, allocations: 3.938 kB / 0.6134 GB, free: 7.789 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.081e-05/0.5999, allocations: 117.8 kB / 0.6135 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.5999, allocations: 7.906 kB / 0.6135 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.6002, allocations: 102 kB / 0.6136 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6002, allocations: 4 kB / 0.6136 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6002, allocations: 3.984 kB / 0.6136 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6002, allocations: 0 / 0.6136 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.6006, allocations: 362.4 kB / 0.614 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6007, allocations: 384 / 0.614 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.6007, allocations: 15.98 kB / 0.614 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.6007, allocations: 4 kB / 0.614 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.6007, allocations: 0 / 0.614 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6007, allocations: 0 / 0.614 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6007, allocations: 3.938 kB / 0.614 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.601, allocations: 187.7 kB / 0.6142 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.601, allocations: 93 kB / 0.6143 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.6011, allocations: 0 / 0.6143 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.11e-05/0.6011, allocations: 11.98 kB / 0.6143 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.6012, allocations: 15.92 kB / 0.6143 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.6012, allocations: 0 / 0.6143 GB, free: 6.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.715e-05/0.6013, allocations: 118.2 kB / 0.6144 GB, free: 6.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6013, allocations: 0 / 0.6144 GB, free: 6.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002889/0.6016, allocations: 47.88 kB / 0.6145 GB, free: 6.613 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.001069/0.6027, allocations: 498 kB / 0.6149 GB, free: 6.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002041/0.6029, allocations: 59.91 kB / 0.615 GB, free: 6.227 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6029, allocations: 0 / 0.615 GB, free: 6.227 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.603, allocations: 27.98 kB / 0.615 GB, free: 6.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.6033, allocations: 13 kB / 0.615 GB, free: 6.188 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.6037, allocations: 184.2 kB / 0.6152 GB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.6039, allocations: 0.6887 MB / 0.6159 GB, free: 5.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.843e-05/0.604, allocations: 8.234 kB / 0.6159 GB, free: 5.262 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.6041, allocations: 23.42 kB / 0.6159 GB, free: 5.238 MB / 426.7 MB Notification: Performance of SimCode: time 1.35e-05/0.6041, allocations: 0 / 0.6159 GB, free: 5.238 MB / 426.7 MB Notification: Performance of Templates: time 0.00404/0.6081, allocations: 1.694 MB / 0.6176 GB, free: 3.551 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches