Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 167.5 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9498/0.9498, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2685/0.2685, allocations: 34.86 MB / 296.6 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.438e-05, allocations: 4.281 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002268/0.002293, allocations: 1.88 MB / 327.8 MB, free: 5.273 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.003157, allocations: 0.7126 MB / 328.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.003221, allocations: 0 / 328.5 MB, free: 4.559 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.003626, allocations: 183.3 kB / 328.7 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.003911, allocations: 179.3 kB / 328.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.004298, allocations: 319.2 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.004511, allocations: 239.3 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.004631, allocations: 38.42 kB / 329.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.004749, allocations: 131.7 kB / 329.6 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.004888, allocations: 139.7 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.004909, allocations: 12 kB / 329.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.729e-05/0.004977, allocations: 39.94 kB / 329.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.834e-05/0.005075, allocations: 111.7 kB / 329.9 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.00513, allocations: 67.7 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.005353, allocations: 243 kB / 330.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005355, allocations: 0 / 330.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005356, allocations: 0 / 330.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.00536, allocations: 4 kB / 330.2 MB, free: 2.887 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005192/0.00588, allocations: 0.535 MB / 330.7 MB, free: 2.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.00591, allocations: 8.031 kB / 330.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.005959, allocations: 32.91 kB / 330.8 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.006194, allocations: 244 kB / 331 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.006203, allocations: 4.375 kB / 331 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.006227, allocations: 12.38 kB / 331 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.006388, allocations: 128.6 kB / 331.1 MB, free: 1.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.006396, allocations: 4.188 kB / 331.1 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.006405, allocations: 4.375 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006412, allocations: 4.375 kB / 331.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/0.006466, allocations: 37 kB / 331.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.006871, allocations: 382.8 kB / 331.6 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.006978, allocations: 69.08 kB / 331.6 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.007009, allocations: 25.7 kB / 331.7 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.007028, allocations: 4.25 kB / 331.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.007055, allocations: 34.56 kB / 331.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.007056, allocations: 4 kB / 331.7 MB, free: 1.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000521/0.007577, allocations: 261.1 kB / 332 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.007611, allocations: 81.11 kB / 332 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.007893, allocations: 404.9 kB / 332.4 MB, free: 496 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.00791, allocations: 25.7 kB / 332.5 MB, free: 464 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.007963, allocations: 145.4 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.008002, allocations: 67.41 kB / 332.7 MB, free: 248 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.008045, allocations: 33.7 kB / 332.7 MB, free: 208 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.008136, allocations: 354.7 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.00817, allocations: 12 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.008216, allocations: 38.47 kB / 333.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.936e-05/0.008295, allocations: 75.05 kB / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.008296, allocations: 0 / 333.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001261/0.008422, allocations: 110.5 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.008433, allocations: 4 kB / 333.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.008437, allocations: 7.938 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.008448, allocations: 0 / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.00858, allocations: 51.91 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.008583, allocations: 0 / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.008652, allocations: 27.91 kB / 333.4 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.008662, allocations: 8 kB / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.256e-05/0.008734, allocations: 112.7 kB / 333.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.008777, allocations: 31.97 kB / 333.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.008965, allocations: 149 kB / 333.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.008969, allocations: 4 kB / 333.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.00897, allocations: 0 / 333.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.008974, allocations: 7.938 kB / 333.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.009379, allocations: 449.7 kB / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00938, allocations: 0 / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.566e-05/0.009475, allocations: 47.89 kB / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.009477, allocations: 0 / 334.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.009487, allocations: 8 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.009489, allocations: 3.938 kB / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.00949, allocations: 0 / 334.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.009685, allocations: 287.3 kB / 334.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.009716, allocations: 31.77 kB / 334.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.009739, allocations: 11.98 kB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.009833, allocations: 23.92 kB / 334.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.009884, allocations: 19.97 kB / 334.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.009891, allocations: 4 kB / 334.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.01002, allocations: 191.5 kB / 334.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01002, allocations: 0 / 334.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001883/0.01021, allocations: 55.92 kB / 334.8 MB, free: 14.03 MB / 314.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001108/0.01131, allocations: 0.502 MB / 335.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.01144, allocations: 68.77 kB / 335.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.862e-06/0.01145, allocations: 8 kB / 335.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.01157, allocations: 44.77 kB / 335.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01183, allocations: 49.62 kB / 335.4 MB, free: 13.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.01241, allocations: 0.5875 MB / 336 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.01248, allocations: 124.2 kB / 336.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.67e-05/0.01257, allocations: 42.58 kB / 336.2 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.01268, allocations: 91.36 kB / 336.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01268, allocations: 0 / 336.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of Templates: time 0.005581/0.01826, allocations: 3.879 MB / 340.2 MB, free: 8.891 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/OneSidedDerivative2D/OneSidedDerivative2D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9119924982078373]