Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.0009714/0.0009714, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009848/0.0009848, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.073/1.073, allocations: 177 MB / 205.2 MB, free: 5.051 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.2692/0.2692, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|der1.y|der2.y|der3.y|der4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.807e-05, allocations: 2.312 kB / 326 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002412/0.00243, allocations: 2.041 MB / 328 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003481, allocations: 0.8241 MB / 328.8 MB, free: 4.238 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.00355, allocations: 4 kB / 328.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.003918, allocations: 179.2 kB / 329 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003002/0.004219, allocations: 215 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.004669, allocations: 403.1 kB / 329.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.004911, allocations: 307 kB / 329.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.005026, allocations: 55.44 kB / 330 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.005191, allocations: 151.6 kB / 330.1 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.005332, allocations: 155.6 kB / 330.3 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.005354, allocations: 16 kB / 330.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.005421, allocations: 43.92 kB / 330.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.005537, allocations: 171.5 kB / 330.5 MB, free: 2.574 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.0056, allocations: 95.56 kB / 330.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.005852, allocations: 334.6 kB / 330.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.005853, allocations: 0 / 330.9 MB, free: 2.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005854, allocations: 4 kB / 330.9 MB, free: 2.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.005859, allocations: 0 / 330.9 MB, free: 2.148 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.0005766/0.006435, allocations: 0.7053 MB / 331.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.006463, allocations: 12.03 kB / 331.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.006511, allocations: 40.89 kB / 331.7 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.006772, allocations: 338.4 kB / 332 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.006783, allocations: 8.375 kB / 332 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.006804, allocations: 12.38 kB / 332 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.006954, allocations: 120.6 kB / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.006964, allocations: 4.188 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.006973, allocations: 4.375 kB / 332.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.006978, allocations: 4.375 kB / 332.2 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.007026, allocations: 32.52 kB / 332.2 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.007368, allocations: 352 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/0.007462, allocations: 73.12 kB / 332.6 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.64e-05/0.007488, allocations: 29.89 kB / 332.6 MB, free: 324 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.007507, allocations: 4 kB / 332.6 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.007524, allocations: 30.56 kB / 332.7 MB, free: 280 kB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.007525, allocations: 4 kB / 332.7 MB, free: 276 kB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005035/0.008029, allocations: 269.7 kB / 332.9 MB, free: 0 / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.008076, allocations: 85.36 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004306/0.008507, allocations: 0.6305 MB / 333.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.00852, allocations: 25.7 kB / 333.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.008587, allocations: 174.3 kB / 333.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.008624, allocations: 59.42 kB / 333.9 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.008664, allocations: 37.69 kB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.111e-05/0.008726, allocations: 322 kB / 334.3 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.008757, allocations: 12.97 kB / 334.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.008797, allocations: 38.33 kB / 334.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/0.00887, allocations: 65.59 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.008871, allocations: 0 / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001227/0.008994, allocations: 117.6 kB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.009007, allocations: 9.719 kB / 334.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.009011, allocations: 0 / 334.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.009023, allocations: 0 / 334.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.009146, allocations: 47.95 kB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.009149, allocations: 4 kB / 334.5 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.009217, allocations: 27.92 kB / 334.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.009224, allocations: 0 / 334.6 MB, free: 14.29 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.728e-05/0.009302, allocations: 128.6 kB / 334.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.009351, allocations: 39.78 kB / 334.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.009531, allocations: 162.9 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.009534, allocations: 4 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.009535, allocations: 0 / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.00954, allocations: 7.922 kB / 334.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.009947, allocations: 495.4 kB / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009948, allocations: 0 / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.835e-05/0.01005, allocations: 43.97 kB / 335.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01005, allocations: 0 / 335.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01006, allocations: 8 kB / 335.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.01006, allocations: 3.938 kB / 335.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01006, allocations: 7.922 kB / 335.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.01021, allocations: 286.7 kB / 335.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.564e-05/0.01026, allocations: 55.61 kB / 335.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.01028, allocations: 11.98 kB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.01038, allocations: 23.92 kB / 335.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.01043, allocations: 19.97 kB / 335.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.01043, allocations: 0 / 335.8 MB, free: 12.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.01065, allocations: 339.4 kB / 336.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01065, allocations: 0 / 336.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.01084, allocations: 59.94 kB / 336.2 MB, free: 12.57 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.001084/0.01193, allocations: 0.4933 MB / 336.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.01205, allocations: 74.95 kB / 336.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.01206, allocations: 8 kB / 336.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/0.01211, allocations: 44.77 kB / 336.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.01242, allocations: 106.5 kB / 337 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.01314, allocations: 0.8337 MB / 337.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.202e-05/0.01322, allocations: 141.2 kB / 337.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.01332, allocations: 63.53 kB / 338 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.01347, allocations: 119.3 kB / 338.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01347, allocations: 0 / 338.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of Templates: time 0.007117/0.02058, allocations: 5.593 MB / 343.7 MB, free: 5.402 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/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: 3.1321481969207525]