Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 76.48 kB / 9.933 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002284, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006711/0.0006711, allocations: 148.9 kB / 11.25 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009836/0.001655, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9915/0.9915, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08589/1.077, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.241e-05, allocations: 2.875 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007191/0.007213, allocations: 6.888 MB / 246.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005529/0.01274, allocations: 3.18 MB / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/0.01362, allocations: 39.81 kB / 249.7 MB, free: 9.02 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.01503, allocations: 0.817 MB / 250.5 MB, free: 8.199 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.01762, allocations: 1.373 MB / 251.9 MB, free: 6.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.01877, allocations: 494.8 kB / 252.3 MB, free: 6.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002758/0.02153, allocations: 2.768 MB / 255.1 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.0228, allocations: 1.175 MB / 256.3 MB, free: 2.367 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.02421, allocations: 1.273 MB / 257.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.02556, allocations: 1.204 MB / 258.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002094/0.02577, allocations: 136 kB / 258.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.02726, allocations: 0.8501 MB / 259.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007223/0.02798, allocations: 0.97 MB / 260.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006048/0.02858, allocations: 0.5294 MB / 261.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.0312, allocations: 2.568 MB / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474e-05/0.03121, allocations: 0 / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.03122, allocations: 0 / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.931e-05/0.03127, allocations: 0 / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.003915/0.03518, allocations: 3.196 MB / 267 MB, free: 7.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.03521, allocations: 12.03 kB / 267 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/0.03792, allocations: 0.7888 MB / 267.8 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.03927, allocations: 0.9854 MB / 268.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.513e-05/0.03936, allocations: 115.2 kB / 268.9 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.0396, allocations: 159.8 kB / 269.1 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.0431, allocations: 3.093 MB / 272.2 MB, free: 1.852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.605e-05/0.04316, allocations: 35.72 kB / 272.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.04334, allocations: 83.89 kB / 272.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00133/0.04467, allocations: 1.211 MB / 273.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1183/0.1629, allocations: 1.602 MB / 275.1 MB, free: 20.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.1778, allocations: 21.08 MB / 296.2 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.1792, allocations: 0.7444 MB / 296.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.1794, allocations: 168.7 kB / 297.1 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/0.1816, allocations: 1.753 MB / 298.8 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1817, allocations: 42.25 kB / 298.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=74): time 3.055e-06/0.1817, allocations: 1.438 kB / 298.9 MB, free: 3.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.003661/0.1853, allocations: 1.669 MB / 300.5 MB, free: 3.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1854, allocations: 143.6 kB / 300.7 MB, free: 3.133 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.1869, allocations: 2.266 MB / 302.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1869, allocations: 40.33 kB / 303 MB, free: 2.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005705/0.1875, allocations: 2.145 MB / 305.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.1877, allocations: 343.7 kB / 305.5 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000456/0.1881, allocations: 0.8188 MB / 306.3 MB, free: 232 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.1882, allocations: 351.9 kB / 306.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006124/0.1888, allocations: 0.4962 MB / 307.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.1907, allocations: 3.316 MB / 310.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.194, allocations: 4.211 MB / 314.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-05/0.194, allocations: 30.47 kB / 314.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.003664/0.1977, allocations: 2.983 MB / 317.7 MB, free: 4.711 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.1977, allocations: 52.97 kB / 317.7 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.979e-05/0.1978, allocations: 104 kB / 317.8 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.1981, allocations: 175.6 kB / 318 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.1997, allocations: 1.072 MB / 319.1 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.2009, allocations: 1.457 MB / 320.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.2026, allocations: 203.8 kB / 320.7 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.2028, allocations: 248 kB / 321 MB, free: 1.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 18 (world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (536): * Single equations (assignments): 532 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001072/0.2039, allocations: 483.2 kB / 321.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.2041, allocations: 115.9 kB / 321.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.2046, allocations: 348.1 kB / 321.9 MB, free: 380 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.2046, allocations: 8 kB / 321.9 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.2046, allocations: 8.875 kB / 321.9 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2046, allocations: 0 / 321.9 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.207, allocations: 1.916 MB / 323.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.207, allocations: 3.984 kB / 323.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.2073, allocations: 95.78 kB / 323.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.2075, allocations: 194.4 kB / 324.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001301/0.2076, allocations: 39.64 kB / 324.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.2077, allocations: 16 kB / 324.2 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000921/0.2086, allocations: 1.393 MB / 325.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2086, allocations: 7.938 kB / 325.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.2094, allocations: 1.025 MB / 326.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.2096, allocations: 19.94 kB / 326.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.2099, allocations: 8 kB / 326.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.21, allocations: 43.86 kB / 326.7 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.21, allocations: 16 kB / 326.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007094/0.2108, allocations: 0.7833 MB / 327.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2108, allocations: 0 / 327.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002386/0.2131, allocations: 0.6288 MB / 328.1 MB, free: 9.977 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (51): * Single equations (assignments): 47 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002928/0.2134, allocations: 148.2 kB / 328.2 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.2156, allocations: 1.697 MB / 329.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001075/0.2157, allocations: 59.94 kB / 330 MB, free: 8.066 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003023/0.216, allocations: 285.8 kB / 330.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.2172, allocations: 494 kB / 330.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.2239, allocations: 4.259 MB / 335 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.2248, allocations: 0.7128 MB / 335.7 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007865/0.2256, allocations: 324.8 kB / 336 MB, free: 1.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.226, allocations: 349.2 kB / 336.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of SimCode: time 2.825e-06/0.226, allocations: 0 / 336.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of Templates: time 0.02554/0.2515, allocations: 16.08 MB / 352.5 MB, free: 1.633 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.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.4414666648954153]