Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,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.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 226.5 MB / 245.4 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000823/0.0008231, allocations: 106.9 kB / 297.5 MB, free: 6.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3897/0.3897, allocations: 44.83 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003551, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.4033, allocations: 62.96 MB / 0.5184 GB, free: 37.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.5335, allocations: 89.6 MB / 0.6059 GB, free: 15.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.5338, allocations: 83.94 kB / 0.606 GB, free: 15.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.5503, allocations: 5.552 MB / 0.6114 GB, free: 10.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5504, allocations: 0 / 0.6114 GB, free: 10.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.5504, allocations: 4 kB / 0.6114 GB, free: 10.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006936/0.5511, allocations: 443.2 kB / 0.6118 GB, free: 9.609 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5512, allocations: 16.81 kB / 0.6119 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.5513, allocations: 16.75 kB / 0.6119 GB, free: 9.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.5516, allocations: 224.5 kB / 0.6121 GB, free: 9.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.5517, allocations: 8.375 kB / 0.6121 GB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.5517, allocations: 12.3 kB / 0.6121 GB, free: 9.301 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.5519, allocations: 73.61 kB / 0.6122 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5519, allocations: 192 / 0.6122 GB, free: 9.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.5519, allocations: 7.938 kB / 0.6122 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5519, allocations: 0 / 0.6122 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.5521, allocations: 55.89 kB / 0.6122 GB, free: 9.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.5527, allocations: 356.6 kB / 0.6126 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.5528, allocations: 74.48 kB / 0.6127 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.5529, allocations: 30.03 kB / 0.6127 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.5529, allocations: 0 / 0.6127 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.553, allocations: 34.56 kB / 0.6127 GB, free: 8.609 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.553, allocations: 0 / 0.6127 GB, free: 8.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001163/0.5541, allocations: 353 kB / 0.6131 GB, free: 8.258 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.5542, allocations: 55.34 kB / 0.6131 GB, free: 8.191 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.5545, allocations: 235.4 kB / 0.6133 GB, free: 7.945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.5545, allocations: 29.7 kB / 0.6134 GB, free: 7.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.5546, allocations: 116 kB / 0.6135 GB, free: 7.793 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.5546, allocations: 43.39 kB / 0.6135 GB, free: 7.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.5547, allocations: 4 kB / 0.6135 GB, free: 7.746 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5548, allocations: 326.8 kB / 0.6138 GB, free: 7.418 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5549, allocations: 43.97 kB / 0.6139 GB, free: 7.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.555, allocations: 47.97 kB / 0.6139 GB, free: 7.328 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.5553, allocations: 120.8 kB / 0.614 GB, free: 7.207 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5553, allocations: 0 / 0.614 GB, free: 7.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003137/0.5556, allocations: 160.7 kB / 0.6142 GB, free: 7.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5556, allocations: 8 kB / 0.6142 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5556, allocations: 0 / 0.6142 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5557, allocations: 4 kB / 0.6142 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.5558, allocations: 35.92 kB / 0.6142 GB, free: 7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5558, allocations: 3.938 kB / 0.6142 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.5559, allocations: 11.98 kB / 0.6142 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.5559, allocations: 4 kB / 0.6142 GB, free: 6.98 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.0001196/0.556, allocations: 137.8 kB / 0.6144 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.5561, allocations: 15.81 kB / 0.6144 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003856/0.5565, allocations: 191.7 kB / 0.6146 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5565, allocations: 0 / 0.6146 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5565, allocations: 7.938 kB / 0.6146 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5565, allocations: 7.984 kB / 0.6146 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.5572, allocations: 0.5186 MB / 0.6151 GB, free: 6.035 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5572, allocations: 4 kB / 0.6151 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.869e-05/0.5573, allocations: 31.95 kB / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5573, allocations: 0 / 0.6151 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5574, allocations: 7.938 kB / 0.6151 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5574, allocations: 0 / 0.6151 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5574, allocations: 0 / 0.6151 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003735/0.5577, allocations: 268.1 kB / 0.6154 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.5578, allocations: 96.92 kB / 0.6155 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.5579, allocations: 3.938 kB / 0.6155 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.558, allocations: 15.98 kB / 0.6155 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.558, allocations: 7.984 kB / 0.6155 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.558, allocations: 4 kB / 0.6155 GB, free: 5.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.5582, allocations: 177.2 kB / 0.6157 GB, free: 5.395 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.813e-06/0.5582, allocations: 0 / 0.6157 GB, free: 5.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002986/0.5585, allocations: 47.88 kB / 0.6157 GB, free: 5.348 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.001088/0.5596, allocations: 459.4 kB / 0.6162 GB, free: 5.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.5599, allocations: 123.4 kB / 0.6163 GB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.56, allocations: 0 / 0.6163 GB, free: 4.941 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.5601, allocations: 75.95 kB / 0.6164 GB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.5605, allocations: 22.27 kB / 0.6164 GB, free: 4.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.5611, allocations: 367.3 kB / 0.6167 GB, free: 4.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.5615, allocations: 0.7238 MB / 0.6174 GB, free: 3.711 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.5616, allocations: 28.53 kB / 0.6175 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.5617, allocations: 19.44 kB / 0.6175 GB, free: 3.664 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5617, allocations: 3.938 kB / 0.6175 GB, free: 3.66 MB / 426.7 MB Notification: Performance of Templates: time 0.004808/0.5665, allocations: 1.642 MB / 0.6191 GB, free: 2.02 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches