Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, 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.605/1.605, allocations: 226.5 MB / 245.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 90.09 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4067/0.4067, allocations: 44.82 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003172, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4065, allocations: 62.96 MB / 0.5184 GB, free: 37.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.5311, allocations: 89.48 MB / 0.6058 GB, free: 15.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5315, allocations: 83.94 kB / 0.6059 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.5454, allocations: 5.045 MB / 0.6108 GB, free: 10.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5455, allocations: 0 / 0.6108 GB, free: 10.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.5455, allocations: 0 / 0.6108 GB, free: 10.71 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.0005867/0.5461, allocations: 435.2 kB / 0.6112 GB, free: 10.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5461, allocations: 15.97 kB / 0.6112 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.5462, allocations: 12.83 kB / 0.6112 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.5465, allocations: 212 kB / 0.6115 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.5465, allocations: 8.375 kB / 0.6115 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.5466, allocations: 384 / 0.6115 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5467, allocations: 58.23 kB / 0.6115 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5467, allocations: 192 / 0.6115 GB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.5468, allocations: 3.938 kB / 0.6115 GB, free: 9.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5468, allocations: 3.938 kB / 0.6115 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.5469, allocations: 31.97 kB / 0.6116 GB, free: 9.852 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.5473, allocations: 304.8 kB / 0.6118 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.5475, allocations: 50.48 kB / 0.6119 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.5475, allocations: 20.86 kB / 0.6119 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.5475, allocations: 4 kB / 0.6119 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5476, allocations: 34.64 kB / 0.6119 GB, free: 9.375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.5476, allocations: 0 / 0.6119 GB, free: 9.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000969/0.5486, allocations: 270.2 kB / 0.6122 GB, free: 9.105 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.5486, allocations: 59.41 kB / 0.6123 GB, free: 9.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.5489, allocations: 195.3 kB / 0.6124 GB, free: 8.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.5489, allocations: 25.7 kB / 0.6125 GB, free: 8.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.549, allocations: 108.1 kB / 0.6126 GB, free: 8.688 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.549, allocations: 23.56 kB / 0.6126 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.549, allocations: 4 kB / 0.6126 GB, free: 8.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5492, allocations: 326.8 kB / 0.6129 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.5493, allocations: 35.97 kB / 0.6129 GB, free: 8.297 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/0.5494, allocations: 35.92 kB / 0.613 GB, free: 8.262 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.5495, allocations: 80.75 kB / 0.6131 GB, free: 8.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5495, allocations: 8 kB / 0.6131 GB, free: 8.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002269/0.5498, allocations: 117.5 kB / 0.6132 GB, free: 8.051 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5498, allocations: 6.656 kB / 0.6132 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5498, allocations: 4 kB / 0.6132 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5498, allocations: 4 kB / 0.6132 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.55, allocations: 19.98 kB / 0.6132 GB, free: 8.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.55, allocations: 4 kB / 0.6132 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.55, allocations: 4 kB / 0.6132 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.55, allocations: 4 kB / 0.6132 GB, free: 8.008 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 0.0001068/0.5502, allocations: 133.7 kB / 0.6134 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.5502, allocations: 11.81 kB / 0.6134 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.5505, allocations: 143.3 kB / 0.6135 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5505, allocations: 0 / 0.6135 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5505, allocations: 432 / 0.6135 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5505, allocations: 0 / 0.6135 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.5512, allocations: 443.2 kB / 0.6139 GB, free: 7.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.5512, allocations: 4 kB / 0.6139 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.155e-05/0.5512, allocations: 23.92 kB / 0.6139 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5513, allocations: 0 / 0.6139 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.5513, allocations: 11.92 kB / 0.614 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5513, allocations: 0 / 0.614 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5513, allocations: 4 kB / 0.614 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.5516, allocations: 220.2 kB / 0.6142 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.5517, allocations: 89.02 kB / 0.6143 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.5517, allocations: 7.922 kB / 0.6143 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.909e-05/0.5518, allocations: 16 kB / 0.6143 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.5518, allocations: 7.984 kB / 0.6143 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.5518, allocations: 0 / 0.6143 GB, free: 6.805 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.552, allocations: 154 kB / 0.6144 GB, free: 6.656 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.552, allocations: 0 / 0.6144 GB, free: 6.656 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000267/0.5522, allocations: 35.88 kB / 0.6145 GB, free: 6.621 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.001053/0.5533, allocations: 460.4 kB / 0.6149 GB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.5536, allocations: 75.95 kB / 0.615 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5536, allocations: 0 / 0.615 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.5537, allocations: 47.91 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.0003083/0.554, allocations: 17 kB / 0.615 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005541/0.5546, allocations: 282.6 kB / 0.6153 GB, free: 5.891 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.5549, allocations: 0.7082 MB / 0.616 GB, free: 5.156 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.491e-05/0.555, allocations: 24.95 kB / 0.616 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.555, allocations: 19.38 kB / 0.616 GB, free: 5.113 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.555, allocations: 0 / 0.616 GB, free: 5.113 MB / 426.7 MB Notification: Performance of Templates: time 0.004104/0.5592, allocations: 1.395 MB / 0.6174 GB, free: 3.723 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches