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.00101/0.00101, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001481/0.001481, allocations: 170 kB / 24.82 MB, free: 9.254 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.9651/0.9651, allocations: 177 MB / 205.1 MB, free: 5.469 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.2592/0.2592, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.303e-06/1.303e-06, allocations: 0 / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.919e-05, allocations: 11.58 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.006028/0.006058, allocations: 1.875 MB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.007199, allocations: 0.7001 MB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.01033, allocations: 0 / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.01079, allocations: 187.2 kB / 382 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.0112, allocations: 171.3 kB / 382.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.01182, allocations: 315.2 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.01211, allocations: 243.3 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.01227, allocations: 41.78 kB / 382.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.01243, allocations: 127.7 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.01261, allocations: 143.7 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.01264, allocations: 12 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.01274, allocations: 51.88 kB / 383.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.01285, allocations: 107.7 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.01292, allocations: 71.7 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.01623, allocations: 235.1 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01623, allocations: 0 / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01623, allocations: 3.938 kB / 383.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.01624, allocations: 0 / 383.5 MB, free: 13.52 MB / 362.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.0006715/0.01691, allocations: 0.6815 MB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.01695, allocations: 12.03 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.628e-05/0.01701, allocations: 48.7 kB / 384.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.01728, allocations: 258.7 kB / 384.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.01729, allocations: 8.375 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.01732, allocations: 12.38 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.01754, allocations: 127.7 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.01755, allocations: 4.188 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.01756, allocations: 4.375 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.01757, allocations: 4.375 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.01764, allocations: 39.78 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008435/0.01849, allocations: 0.5496 MB / 385.2 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.01864, allocations: 98.14 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.01868, allocations: 27.36 kB / 385.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.01871, allocations: 8.062 kB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.01874, allocations: 45.38 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.943e-06/0.01874, allocations: 0 / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.003881/0.02262, allocations: 289.5 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.02266, allocations: 85.11 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.02303, allocations: 474.5 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.02305, allocations: 33.7 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.0232, allocations: 263.1 kB / 386.5 MB, free: 10.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.259e-05/0.02326, allocations: 59.48 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.02332, allocations: 39.36 kB / 386.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.02349, allocations: 0.5391 MB / 387.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.02354, allocations: 16.17 kB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.02361, allocations: 51.34 kB / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.02372, allocations: 75.28 kB / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.02373, allocations: 0 / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002247/0.02395, allocations: 149.4 kB / 387.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.02397, allocations: 4 kB / 387.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.02397, allocations: 4 kB / 387.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.02399, allocations: 3.984 kB / 387.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.02416, allocations: 51.91 kB / 387.5 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.02416, allocations: 4.156 kB / 387.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.339e-05/0.02426, allocations: 23.92 kB / 387.5 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.02427, allocations: 7.938 kB / 387.5 MB, free: 9.215 MB / 362.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 9.969e-05/0.02437, allocations: 168.6 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.02445, allocations: 51.66 kB / 387.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.02475, allocations: 173 kB / 387.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.02475, allocations: 4 kB / 387.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.02475, allocations: 0 / 387.9 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.02476, allocations: 3.938 kB / 387.9 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/0.02844, allocations: 0.6025 MB / 388.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.02844, allocations: 0 / 388.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.02858, allocations: 51.95 kB / 388.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.02859, allocations: 4 kB / 388.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.0286, allocations: 7.938 kB / 388.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.0286, allocations: 80 / 388.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.0286, allocations: 3.984 kB / 388.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003013/0.02891, allocations: 421.8 kB / 389 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.02895, allocations: 39.7 kB / 389.1 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.02899, allocations: 7.938 kB / 389.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.02914, allocations: 23.97 kB / 389.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.0292, allocations: 15.97 kB / 389.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.02921, allocations: 12 kB / 389.1 MB, free: 7.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002271/0.02944, allocations: 311 kB / 389.4 MB, free: 7.277 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02944, allocations: 0 / 389.4 MB, free: 7.277 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.02977, allocations: 47.94 kB / 389.5 MB, free: 7.23 MB / 362.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.0009612/0.03073, allocations: 386.4 kB / 389.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003193/0.03392, allocations: 83.56 kB / 389.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03393, allocations: 0 / 389.9 MB, free: 6.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.03401, allocations: 57.78 kB / 390 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.03447, allocations: 60.12 kB / 390 MB, free: 6.758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/0.0353, allocations: 0.6001 MB / 390.6 MB, free: 6.125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.486e-05/0.03539, allocations: 116.3 kB / 390.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000121/0.03551, allocations: 42.56 kB / 390.8 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.03567, allocations: 122.2 kB / 390.9 MB, free: 5.832 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03567, allocations: 0 / 390.9 MB, free: 5.832 MB / 362.7 MB Notification: Performance of Templates: time 0.01028/0.04595, allocations: 4.142 MB / 395.1 MB, free: 1.75 MB / 362.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.99510581092909]