Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 197.2 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009479/0.0009483, allocations: 107.8 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4218/0.4218, allocations: 44.81 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003008, allocations: 8.219 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5034, allocations: 62.95 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.6278, allocations: 89.57 MB / 0.6059 GB, free: 15.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.6281, allocations: 75.95 kB / 0.606 GB, free: 15.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01399/0.6421, allocations: 5.465 MB / 0.6113 GB, free: 10.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.6421, allocations: 0 / 0.6113 GB, free: 10.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.6422, allocations: 4 kB / 0.6113 GB, free: 10.21 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.000578/0.6427, allocations: 399.5 kB / 0.6117 GB, free: 9.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6428, allocations: 12.03 kB / 0.6117 GB, free: 9.758 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.6428, allocations: 4.938 kB / 0.6117 GB, free: 9.754 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.6432, allocations: 208 kB / 0.6119 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.6432, allocations: 384 / 0.6119 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.6432, allocations: 4.375 kB / 0.6119 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.6434, allocations: 59.97 kB / 0.612 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6435, allocations: 8.188 kB / 0.612 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.6435, allocations: 3.938 kB / 0.612 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6435, allocations: 0 / 0.612 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.825e-05/0.6436, allocations: 27.97 kB / 0.612 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.644, allocations: 280.9 kB / 0.6123 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.6443, allocations: 50.48 kB / 0.6123 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.6443, allocations: 16.94 kB / 0.6123 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.6444, allocations: 4 kB / 0.6123 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.6444, allocations: 34.56 kB / 0.6124 GB, free: 8.949 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.6444, allocations: 0 / 0.6124 GB, free: 8.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006001/0.645, allocations: 153.3 kB / 0.6125 GB, free: 8.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.6451, allocations: 81.11 kB / 0.6126 GB, free: 8.695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.6453, allocations: 144.8 kB / 0.6127 GB, free: 8.547 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.6453, allocations: 29.7 kB / 0.6128 GB, free: 8.512 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.6454, allocations: 96.03 kB / 0.6129 GB, free: 8.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.6454, allocations: 19.75 kB / 0.6129 GB, free: 8.395 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.6454, allocations: 3.938 kB / 0.6129 GB, free: 8.391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6455, allocations: 331.9 kB / 0.6132 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.6456, allocations: 19.98 kB / 0.6132 GB, free: 8.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.6457, allocations: 37.7 kB / 0.6132 GB, free: 7.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.6458, allocations: 52.83 kB / 0.6133 GB, free: 7.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6458, allocations: 32 / 0.6133 GB, free: 7.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.646, allocations: 85.58 kB / 0.6134 GB, free: 7.852 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.6461, allocations: 8 kB / 0.6134 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6461, allocations: 0 / 0.6134 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.6461, allocations: 0 / 0.6134 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.6462, allocations: 23.92 kB / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6462, allocations: 4 kB / 0.6134 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.6462, allocations: 7.938 kB / 0.6134 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.6462, allocations: 0 / 0.6134 GB, free: 7.809 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 9.006e-05/0.6463, allocations: 121.8 kB / 0.6135 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.6464, allocations: 7.906 kB / 0.6135 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.6466, allocations: 97.97 kB / 0.6136 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6466, allocations: 0 / 0.6136 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.6467, allocations: 0 / 0.6136 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.6467, allocations: 0 / 0.6136 GB, free: 7.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.6471, allocations: 370.7 kB / 0.614 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6471, allocations: 4.062 kB / 0.614 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.6472, allocations: 15.98 kB / 0.614 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6472, allocations: 0 / 0.614 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-06/0.6472, allocations: 0 / 0.614 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6472, allocations: 4 kB / 0.614 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6472, allocations: 3.938 kB / 0.614 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.6474, allocations: 187.4 kB / 0.6142 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.6475, allocations: 85.02 kB / 0.6143 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.6476, allocations: 4 kB / 0.6143 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.6476, allocations: 11.98 kB / 0.6143 GB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.6477, allocations: 3.938 kB / 0.6143 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.6477, allocations: 8 kB / 0.6143 GB, free: 6.797 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.878e-05/0.6478, allocations: 111.2 kB / 0.6144 GB, free: 6.688 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6478, allocations: 0 / 0.6144 GB, free: 6.688 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003235/0.6481, allocations: 55.86 kB / 0.6145 GB, free: 6.633 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.001099/0.6492, allocations: 0.4901 MB / 0.6149 GB, free: 6.301 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.6494, allocations: 59.91 kB / 0.615 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6495, allocations: 0 / 0.615 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.412e-05/0.6495, allocations: 31.97 kB / 0.615 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.6498, allocations: 12 kB / 0.615 GB, free: 6.199 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.6502, allocations: 180.2 kB / 0.6152 GB, free: 6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.6505, allocations: 0.6887 MB / 0.6159 GB, free: 5.285 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.821e-05/0.6506, allocations: 16.23 kB / 0.6159 GB, free: 5.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.6506, allocations: 11.44 kB / 0.6159 GB, free: 5.258 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6506, allocations: 4 kB / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of Templates: time 0.004176/0.6548, allocations: 1.693 MB / 0.6176 GB, free: 3.57 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches