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.001182/0.001182, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002014/0.003196, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001472/0.001472, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00197/0.003441, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.066/1.066, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09878/1.164, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.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.2433/0.2433, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02866/0.272, allocations: 13.24 MB / 292.6 MB, free: 6.445 MB / 282.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.212e-06/1.212e-06, allocations: 0 / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.808e-06/1.102e-05, allocations: 2.312 kB / 293.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.00205/0.002061, allocations: 1.941 MB / 295.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007807/0.002842, allocations: 0.7117 MB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.002906, allocations: 4 kB / 296.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.003177, allocations: 183.2 kB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.003397, allocations: 187.2 kB / 296.9 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.0038, allocations: 321.7 kB / 297.2 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.003989, allocations: 243.3 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.004095, allocations: 42.36 kB / 297.5 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.004249, allocations: 173.4 kB / 297.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.004373, allocations: 131.7 kB / 297.8 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.004393, allocations: 12 kB / 297.8 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/0.004458, allocations: 39.98 kB / 297.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.004542, allocations: 99.7 kB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.004592, allocations: 51.69 kB / 298 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.004791, allocations: 227 kB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.004805, allocations: 0 / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004806, allocations: 0 / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.00482, allocations: 4 kB / 298.2 MB, free: 0.8164 MB / 282.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.0005411/0.005362, allocations: 0.5853 MB / 298.8 MB, free: 208 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.555e-05/0.005387, allocations: 12.92 kB / 298.8 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.00543, allocations: 28.91 kB / 298.8 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.005645, allocations: 247 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.005655, allocations: 8.375 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.005677, allocations: 12.38 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.005839, allocations: 124.6 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.00585, allocations: 8.188 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.00586, allocations: 4.375 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005865, allocations: 1.312 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/0.005915, allocations: 33.17 kB / 299.3 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.006267, allocations: 374.9 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.00637, allocations: 73.06 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.006398, allocations: 25.95 kB / 299.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.006422, allocations: 4 kB / 299.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.006442, allocations: 42.5 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.006443, allocations: 4 kB / 299.8 MB, free: 15.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005138/0.006957, allocations: 266.2 kB / 300 MB, free: 14.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.006988, allocations: 77.11 kB / 300.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.007214, allocations: 405 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.007231, allocations: 29.7 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.007283, allocations: 137.4 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.007321, allocations: 67.42 kB / 300.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.007361, allocations: 29.69 kB / 300.8 MB, free: 14.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.007441, allocations: 362.7 kB / 301.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.51e-05/0.007476, allocations: 12 kB / 301.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.291e-05/0.007519, allocations: 45.16 kB / 301.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.458e-05/0.007594, allocations: 74.22 kB / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.007595, allocations: 0 / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001155/0.00771, allocations: 109.8 kB / 301.4 MB, free: 13.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.007721, allocations: 4 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.007726, allocations: 3.938 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.235e-06/0.007734, allocations: 4 kB / 301.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.007866, allocations: 55.91 kB / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.007869, allocations: 4 kB / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.007929, allocations: 19.97 kB / 301.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.007938, allocations: 8 kB / 301.5 MB, free: 13.37 MB / 298.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 6.673e-05/0.008005, allocations: 116.6 kB / 301.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.008044, allocations: 23.97 kB / 301.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.008221, allocations: 153 kB / 301.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008222, allocations: 0 / 301.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.008224, allocations: 4 kB / 301.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.008228, allocations: 7.984 kB / 301.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.008602, allocations: 457.2 kB / 302.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.008603, allocations: 4 kB / 302.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.008711, allocations: 47.91 kB / 302.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.00874, allocations: 35.75 kB / 302.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008743, allocations: 4 kB / 302.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.008751, allocations: 4 kB / 302.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008752, allocations: 0 / 302.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008754, allocations: 3.938 kB / 302.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.008903, allocations: 287.3 kB / 302.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.008922, allocations: 4 kB / 302.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.009012, allocations: 19.98 kB / 302.6 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.009056, allocations: 23.89 kB / 302.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.009064, allocations: 7.938 kB / 302.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.009183, allocations: 191.5 kB / 302.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009183, allocations: 0 / 302.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001832/0.009366, allocations: 52 kB / 302.9 MB, free: 11.89 MB / 298.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.001222/0.01059, allocations: 0.5367 MB / 303.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.01071, allocations: 72.75 kB / 303.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.01072, allocations: 4 kB / 303.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.01077, allocations: 52.72 kB / 303.5 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.01105, allocations: 81.8 kB / 303.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006876/0.01173, allocations: 0.5965 MB / 304.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.0118, allocations: 120.2 kB / 304.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.051e-05/0.01188, allocations: 42.27 kB / 304.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.01199, allocations: 91.36 kB / 304.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01199, allocations: 0 / 304.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of Templates: time 0.005223/0.01722, allocations: 3.926 MB / 308.4 MB, free: 6.68 MB / 298.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 -ignoreHideResult -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.9468096354976296]