Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, allocations: 200.7 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.622/1.622, allocations: 226.5 MB / 245.4 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008971/0.0008969, allocations: 92.12 kB / 297.4 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3848/0.3848, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003333, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4106, allocations: 62.95 MB / 0.5184 GB, free: 37.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.5344, allocations: 89.5 MB / 0.6058 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5347, allocations: 83.92 kB / 0.6059 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.548, allocations: 5.17 MB / 0.6109 GB, free: 10.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.548, allocations: 0 / 0.6109 GB, free: 10.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.5481, allocations: 4 kB / 0.6109 GB, free: 10.56 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.0004821/0.5485, allocations: 447.1 kB / 0.6114 GB, free: 10.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5486, allocations: 12.03 kB / 0.6114 GB, free: 10.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.5486, allocations: 12.83 kB / 0.6114 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.5489, allocations: 216.5 kB / 0.6116 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5489, allocations: 4.375 kB / 0.6116 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.549, allocations: 384 / 0.6116 GB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.5491, allocations: 62.22 kB / 0.6117 GB, free: 9.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5492, allocations: 4.188 kB / 0.6117 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5492, allocations: 7.875 kB / 0.6117 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5492, allocations: 0 / 0.6117 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/0.5493, allocations: 31.97 kB / 0.6117 GB, free: 9.684 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.5498, allocations: 328.6 kB / 0.612 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5499, allocations: 46.56 kB / 0.6121 GB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.5499, allocations: 20.94 kB / 0.6121 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.55, allocations: 0 / 0.6121 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.55, allocations: 34.56 kB / 0.6121 GB, free: 9.191 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.55, allocations: 4 kB / 0.6121 GB, free: 9.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008798/0.5509, allocations: 262.3 kB / 0.6124 GB, free: 8.926 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.5509, allocations: 59.34 kB / 0.6124 GB, free: 8.855 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.5512, allocations: 226.6 kB / 0.6126 GB, free: 8.621 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.5512, allocations: 25.7 kB / 0.6127 GB, free: 8.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.5513, allocations: 112.1 kB / 0.6128 GB, free: 8.477 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.5513, allocations: 23.7 kB / 0.6128 GB, free: 8.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-06/0.5513, allocations: 4 kB / 0.6128 GB, free: 8.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5515, allocations: 326.8 kB / 0.6131 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.5516, allocations: 31.98 kB / 0.6131 GB, free: 8.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.5517, allocations: 35.97 kB / 0.6132 GB, free: 8.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.5518, allocations: 80.77 kB / 0.6133 GB, free: 7.973 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5518, allocations: 0 / 0.6133 GB, free: 7.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002284/0.5521, allocations: 129.5 kB / 0.6134 GB, free: 7.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5521, allocations: 7.938 kB / 0.6134 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5521, allocations: 4 kB / 0.6134 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5521, allocations: 7.984 kB / 0.6134 GB, free: 7.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.5522, allocations: 12 kB / 0.6134 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5522, allocations: 4 kB / 0.6134 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.5523, allocations: 7.984 kB / 0.6134 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.5523, allocations: 0 / 0.6134 GB, free: 7.797 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 9.565e-05/0.5524, allocations: 145.7 kB / 0.6136 GB, free: 7.645 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.5525, allocations: 11.81 kB / 0.6136 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.5528, allocations: 143.3 kB / 0.6137 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5528, allocations: 0 / 0.6137 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5528, allocations: 7.984 kB / 0.6137 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5528, allocations: 0 / 0.6137 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.5534, allocations: 447.2 kB / 0.6141 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5534, allocations: 0 / 0.6141 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.5534, allocations: 24.02 kB / 0.6142 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5535, allocations: 0 / 0.6142 GB, free: 6.961 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.5535, allocations: 7.938 kB / 0.6142 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5535, allocations: 0 / 0.6142 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5535, allocations: 0 / 0.6142 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.5538, allocations: 228.1 kB / 0.6144 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.5539, allocations: 100.9 kB / 0.6145 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.5539, allocations: 3.938 kB / 0.6145 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.554, allocations: 11.98 kB / 0.6145 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.554, allocations: 11.98 kB / 0.6145 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.554, allocations: 0 / 0.6145 GB, free: 6.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.5542, allocations: 180.3 kB / 0.6147 GB, free: 6.391 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5542, allocations: 0 / 0.6147 GB, free: 6.391 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002535/0.5545, allocations: 31.98 kB / 0.6147 GB, free: 6.359 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.001059/0.5555, allocations: 454.7 kB / 0.6152 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.5558, allocations: 87.88 kB / 0.6152 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5558, allocations: 0 / 0.6152 GB, free: 5.992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.5559, allocations: 47.98 kB / 0.6153 GB, free: 5.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.5562, allocations: 23.8 kB / 0.6153 GB, free: 5.926 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/0.5568, allocations: 306.1 kB / 0.6156 GB, free: 5.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.5571, allocations: 0.7082 MB / 0.6163 GB, free: 4.863 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.547e-05/0.5572, allocations: 28.94 kB / 0.6163 GB, free: 4.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.348e-05/0.5572, allocations: 11.44 kB / 0.6163 GB, free: 4.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5572, allocations: 4 kB / 0.6163 GB, free: 4.816 MB / 426.7 MB Notification: Performance of Templates: time 0.004021/0.5612, allocations: 1.446 MB / 0.6177 GB, free: 3.375 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches