Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001003/0.001003, allocations: 204 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008323/0.0008325, allocations: 103.1 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3795/0.3795, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002936, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3924, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.5263, allocations: 89.5 MB / 0.6058 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5266, allocations: 75.95 kB / 0.6059 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.5418, allocations: 5.517 MB / 0.6113 GB, free: 10.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5418, allocations: 0 / 0.6113 GB, free: 10.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.5419, allocations: 4 kB / 0.6113 GB, free: 10.22 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006289/0.5425, allocations: 447.2 kB / 0.6117 GB, free: 9.734 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5426, allocations: 12.88 kB / 0.6117 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.5426, allocations: 12.75 kB / 0.6117 GB, free: 9.711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.5429, allocations: 224.5 kB / 0.612 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.543, allocations: 4.359 kB / 0.612 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.543, allocations: 12.28 kB / 0.612 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.5432, allocations: 70.17 kB / 0.612 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.5432, allocations: 4.188 kB / 0.612 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.5432, allocations: 7.938 kB / 0.612 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5432, allocations: 0 / 0.612 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.5434, allocations: 43.97 kB / 0.6121 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.5438, allocations: 348.5 kB / 0.6124 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.544, allocations: 58.56 kB / 0.6125 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.544, allocations: 26.03 kB / 0.6125 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.5441, allocations: 0 / 0.6125 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5441, allocations: 38.5 kB / 0.6125 GB, free: 8.777 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.5441, allocations: 0 / 0.6125 GB, free: 8.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001018/0.5452, allocations: 337.3 kB / 0.6129 GB, free: 8.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.5452, allocations: 51.41 kB / 0.6129 GB, free: 8.379 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.5455, allocations: 239.3 kB / 0.6131 GB, free: 8.129 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.5455, allocations: 25.81 kB / 0.6132 GB, free: 8.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.5456, allocations: 116.1 kB / 0.6133 GB, free: 7.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.5456, allocations: 43.36 kB / 0.6133 GB, free: 7.938 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.5456, allocations: 0 / 0.6133 GB, free: 7.938 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.5457, allocations: 330.8 kB / 0.6136 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.068e-05/0.5458, allocations: 35.98 kB / 0.6137 GB, free: 7.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.5459, allocations: 39.98 kB / 0.6137 GB, free: 7.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.5461, allocations: 112.1 kB / 0.6138 GB, free: 7.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5461, allocations: 3.938 kB / 0.6138 GB, free: 7.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002544/0.5464, allocations: 141.5 kB / 0.6139 GB, free: 7.273 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5464, allocations: 4 kB / 0.614 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5464, allocations: 0 / 0.614 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.5465, allocations: 4 kB / 0.614 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.5466, allocations: 23.98 kB / 0.614 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.5466, allocations: 3.938 kB / 0.614 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.5467, allocations: 15.94 kB / 0.614 GB, free: 7.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.5467, allocations: 8 kB / 0.614 GB, free: 7.215 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 (13): * Single equations (assignments): 13 * 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.0001091/0.5468, allocations: 133.8 kB / 0.6141 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.5469, allocations: 15.81 kB / 0.6141 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.5472, allocations: 167.6 kB / 0.6143 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5473, allocations: 8 kB / 0.6143 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.5473, allocations: 3.938 kB / 0.6143 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5473, allocations: 3.984 kB / 0.6143 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006865/0.548, allocations: 0.499 MB / 0.6148 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.548, allocations: 0 / 0.6148 GB, free: 6.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.5481, allocations: 27.98 kB / 0.6148 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5481, allocations: 0 / 0.6148 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.5481, allocations: 11.98 kB / 0.6148 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5481, allocations: 0 / 0.6148 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5481, allocations: 0 / 0.6148 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003248/0.5485, allocations: 244.1 kB / 0.6151 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.5485, allocations: 101 kB / 0.6152 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.5486, allocations: 0 / 0.6152 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.5486, allocations: 12 kB / 0.6152 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.5487, allocations: 11.98 kB / 0.6152 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5487, allocations: 4 kB / 0.6152 GB, free: 5.875 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.5489, allocations: 177.2 kB / 0.6154 GB, free: 5.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/0.5489, allocations: 0 / 0.6154 GB, free: 5.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.5492, allocations: 43.92 kB / 0.6154 GB, free: 5.66 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 (13): * Single equations (assignments): 13 * 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.001021/0.5502, allocations: 476.2 kB / 0.6159 GB, free: 5.352 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.5505, allocations: 99.95 kB / 0.616 GB, free: 5.254 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5505, allocations: 0 / 0.616 GB, free: 5.254 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.5506, allocations: 59.91 kB / 0.616 GB, free: 5.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.5509, allocations: 19.94 kB / 0.616 GB, free: 5.176 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.5516, allocations: 355 kB / 0.6164 GB, free: 4.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.5519, allocations: 0.7238 MB / 0.6171 GB, free: 4.051 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.665e-05/0.552, allocations: 24.55 kB / 0.6171 GB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.552, allocations: 19.42 kB / 0.6171 GB, free: 4.008 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.552, allocations: 0 / 0.6171 GB, free: 4.008 MB / 426.7 MB Notification: Performance of Templates: time 0.004463/0.5565, allocations: 1.575 MB / 0.6187 GB, free: 2.438 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches