Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.0009943/0.0009943, allocations: 81.91 kB / 21.42 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.0009474/0.0009474, allocations: 161 kB / 24.82 MB, free: 8.922 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.027/1.027, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.201e-05, allocations: 6.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008553/0.008575, allocations: 6.765 MB / 280.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.01457, allocations: 3.08 MB / 283.2 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008022/0.01537, allocations: 39.81 kB / 283.2 MB, free: 7.297 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.01661, allocations: 0.8248 MB / 284.1 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.01893, allocations: 1.373 MB / 285.4 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.01976, allocations: 0.5299 MB / 286 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.0226, allocations: 2.917 MB / 288.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/0.02422, allocations: 1.387 MB / 290.3 MB, free: 232 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1144/0.1386, allocations: 1.212 MB / 291.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.1403, allocations: 1.278 MB / 292.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.1406, allocations: 137.2 kB / 292.9 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.142, allocations: 0.8066 MB / 293.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008628/0.1428, allocations: 1.052 MB / 294.7 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006888/0.1435, allocations: 0.6293 MB / 295.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.1464, allocations: 2.734 MB / 298.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1464, allocations: 0.5 kB / 298.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1464, allocations: 2.594 kB / 298.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.708e-05/0.1464, allocations: 0 / 298.1 MB, free: 15.5 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.003747/0.1502, allocations: 3.04 MB / 301.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1502, allocations: 14.89 kB / 301.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002918/0.1531, allocations: 1.073 MB / 302.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.1545, allocations: 1.062 MB / 303.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.1546, allocations: 120.6 kB / 303.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.1548, allocations: 152.2 kB / 303.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003377/0.1582, allocations: 3.543 MB / 307.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.1582, allocations: 30.56 kB / 307.1 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.1584, allocations: 78.95 kB / 307.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009706/0.1594, allocations: 1.207 MB / 308.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.1619, allocations: 1.598 MB / 310 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.179, allocations: 29.65 MB / 339.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.1806, allocations: 0.7098 MB / 340.4 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.1809, allocations: 213.1 kB / 340.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002747/0.1836, allocations: 2.071 MB / 342.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.1837, allocations: 44.02 kB / 342.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 3.216e-06/0.1837, allocations: 3.938 kB / 342.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=75): time 0.004178/0.1878, allocations: 1.89 MB / 344.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1879, allocations: 143.6 kB / 344.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.1902, allocations: 2.552 MB / 347.3 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.1902, allocations: 35.42 kB / 347.3 MB, free: 6.012 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.1914, allocations: 2.388 MB / 349.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.1917, allocations: 371 kB / 350.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007992/0.1925, allocations: 0.9596 MB / 351 MB, free: 2.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1926, allocations: 0.5301 MB / 351.6 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.1932, allocations: 352.3 kB / 351.9 MB, free: 1.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/0.196, allocations: 4.738 MB / 356.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/0.1998, allocations: 5.584 MB / 362.2 MB, free: 3.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.153e-05/0.1998, allocations: 31.94 kB / 362.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.004117/0.204, allocations: 3.477 MB / 365.7 MB, free: 36 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.029e-05/0.204, allocations: 52.05 kB / 365.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.474e-05/0.2041, allocations: 104 kB / 365.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.2044, allocations: 176.3 kB / 366.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.2059, allocations: 0.9669 MB / 367 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.2071, allocations: 1.983 MB / 369 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.2088, allocations: 195.7 kB / 369.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.2091, allocations: 248 kB / 369.4 MB, free: 12.21 MB / 330.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.0009223/0.21, allocations: 0.5194 MB / 370 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/0.2102, allocations: 222.6 kB / 370.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.2107, allocations: 371.4 kB / 370.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.2107, allocations: 11.94 kB / 370.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2107, allocations: 4 kB / 370.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2107, allocations: 7.609 kB / 370.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.2143, allocations: 2.259 MB / 372.8 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.2143, allocations: 4 kB / 372.8 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.2145, allocations: 75.91 kB / 372.9 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.2147, allocations: 47.73 kB / 372.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.2147, allocations: 20.03 kB / 373 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008569/0.2156, allocations: 1.78 MB / 374.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2156, allocations: 4 kB / 374.7 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2166, allocations: 1.213 MB / 376 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.2169, allocations: 198.4 kB / 376.2 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.2171, allocations: 15.98 kB / 376.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.2174, allocations: 12 kB / 376.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.2175, allocations: 43.81 kB / 376.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.2175, allocations: 20 kB / 376.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009809/0.2185, allocations: 1.005 MB / 377.3 MB, free: 4.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2185, allocations: 0 / 377.3 MB, free: 4.117 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002923/0.2214, allocations: 0.6093 MB / 377.9 MB, free: 3.508 MB / 330.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.0003503/0.2218, allocations: 155 kB / 378 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.2244, allocations: 1.865 MB / 379.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2244, allocations: 0 / 379.9 MB, free: 1.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.2248, allocations: 365.5 kB / 380.2 MB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.2259, allocations: 236.4 kB / 380.5 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/0.2319, allocations: 4.215 MB / 384.7 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.2326, allocations: 0.7119 MB / 385.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008644/0.2334, allocations: 332.2 kB / 385.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.2338, allocations: 370.1 kB / 386.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of SimCode: time 1.783e-06/0.2338, allocations: 0 / 386.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of Templates: time 0.02713/0.261, allocations: 15.69 MB / 401.8 MB, free: 11.64 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5025249742902815]