Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 197.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.559/1.559, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008645/0.0008644, allocations: 99.78 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3393/0.3393, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003359, 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.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.5222, allocations: 89.39 MB / 0.6057 GB, free: 15.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5225, allocations: 79.94 kB / 0.6058 GB, free: 15.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0124/0.5349, allocations: 4.568 MB / 0.6102 GB, free: 11.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.535, allocations: 0 / 0.6102 GB, free: 11.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.535, allocations: 4 kB / 0.6103 GB, free: 11.27 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.000503/0.5355, allocations: 411.4 kB / 0.6106 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.5356, allocations: 16.02 kB / 0.6107 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.5356, allocations: 8.844 kB / 0.6107 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.5359, allocations: 200.1 kB / 0.6109 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5359, allocations: 384 / 0.6109 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.5359, allocations: 12.31 kB / 0.6109 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.5361, allocations: 46.25 kB / 0.6109 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.5361, allocations: 4.188 kB / 0.6109 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.5361, allocations: 7.922 kB / 0.6109 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.5361, allocations: 0 / 0.6109 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.5362, allocations: 27.98 kB / 0.611 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.5366, allocations: 280.9 kB / 0.6112 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.5368, allocations: 54.48 kB / 0.6113 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.5369, allocations: 20.86 kB / 0.6113 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.5369, allocations: 96 / 0.6113 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.5369, allocations: 34.55 kB / 0.6113 GB, free: 10 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.537, allocations: 0 / 0.6113 GB, free: 10 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005395/0.5375, allocations: 165.2 kB / 0.6115 GB, free: 9.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.5375, allocations: 59.41 kB / 0.6115 GB, free: 9.766 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.5377, allocations: 163.7 kB / 0.6117 GB, free: 9.602 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.5377, allocations: 29.64 kB / 0.6117 GB, free: 9.566 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.5378, allocations: 96.12 kB / 0.6118 GB, free: 9.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.5378, allocations: 15.75 kB / 0.6118 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.5378, allocations: 0 / 0.6118 GB, free: 9.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.5379, allocations: 326.8 kB / 0.6121 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.538, allocations: 27.98 kB / 0.6122 GB, free: 9.098 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.5381, allocations: 23.98 kB / 0.6122 GB, free: 9.074 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5382, allocations: 61 kB / 0.6122 GB, free: 9.012 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5383, allocations: 0 / 0.6122 GB, free: 9.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001994/0.5385, allocations: 97.58 kB / 0.6123 GB, free: 8.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.5385, allocations: 8 kB / 0.6124 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5385, allocations: 0 / 0.6124 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5385, allocations: 0 / 0.6124 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.5386, allocations: 23.86 kB / 0.6124 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5386, allocations: 0 / 0.6124 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.5386, allocations: 11.98 kB / 0.6124 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.5387, allocations: 4.281 kB / 0.6124 GB, free: 8.863 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.058e-05/0.5387, allocations: 117.8 kB / 0.6125 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.5388, allocations: 7.906 kB / 0.6125 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.539, allocations: 117.9 kB / 0.6126 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.539, allocations: 3.938 kB / 0.6126 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5391, allocations: 0 / 0.6126 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5391, allocations: 0 / 0.6126 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.5395, allocations: 375.5 kB / 0.613 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5395, allocations: 4 kB / 0.613 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/0.5396, allocations: 15.98 kB / 0.613 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5396, allocations: 0 / 0.613 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.5396, allocations: 0 / 0.613 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5396, allocations: 7.938 kB / 0.613 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5396, allocations: 0 / 0.613 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.5398, allocations: 199.3 kB / 0.6132 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.5399, allocations: 85.02 kB / 0.6133 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.5399, allocations: 4.234 kB / 0.6133 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.54, allocations: 15.94 kB / 0.6133 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.5401, allocations: 0 / 0.6133 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.5401, allocations: 8 kB / 0.6133 GB, free: 7.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.5402, allocations: 128.2 kB / 0.6134 GB, free: 7.695 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5402, allocations: 0 / 0.6134 GB, free: 7.695 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.5404, allocations: 20 kB / 0.6134 GB, free: 7.676 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.0008391/0.5413, allocations: 395 kB / 0.6138 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.5415, allocations: 63.91 kB / 0.6139 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5415, allocations: 0 / 0.6139 GB, free: 7.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.5416, allocations: 27.98 kB / 0.6139 GB, free: 7.332 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.5419, allocations: 18.33 kB / 0.6139 GB, free: 7.316 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.5423, allocations: 205.8 kB / 0.6141 GB, free: 7.082 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.5425, allocations: 0.6991 MB / 0.6148 GB, free: 6.359 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.685e-05/0.5426, allocations: 15.98 kB / 0.6148 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.5427, allocations: 19.38 kB / 0.6148 GB, free: 6.328 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5427, allocations: 0 / 0.6148 GB, free: 6.328 MB / 426.7 MB Notification: Performance of Templates: time 0.003176/0.5459, allocations: 1.107 MB / 0.6159 GB, free: 5.227 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches