Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 162 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9187/0.9187, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.358e-05, allocations: 6.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.005615/0.005638, allocations: 6.933 MB / 280 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00431/0.009948, allocations: 3.103 MB / 283.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.01039, allocations: 35.81 kB / 283.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.01162, allocations: 0.8404 MB / 284 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.0132, allocations: 1.361 MB / 285.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005718/0.01377, allocations: 0.5377 MB / 285.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002048/0.01582, allocations: 2.908 MB / 288.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009199/0.01674, allocations: 1.383 MB / 290.2 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1016/0.1183, allocations: 1.185 MB / 291.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.12, allocations: 1.296 MB / 292.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.1203, allocations: 138.8 kB / 292.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.1214, allocations: 0.8112 MB / 293.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006943/0.1221, allocations: 1.056 MB / 294.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006908/0.1228, allocations: 0.6339 MB / 295.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002598/0.1254, allocations: 2.738 MB / 298 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1254, allocations: 0 / 298 MB, free: 15.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1254, allocations: 0 / 298 MB, free: 15.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.145e-05/0.1254, allocations: 1.062 kB / 298 MB, free: 15.1 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.003791/0.1292, allocations: 3.178 MB / 301.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1293, allocations: 8.906 kB / 301.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/0.1329, allocations: 1.986 MB / 303.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.1342, allocations: 1.153 MB / 304.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.921e-05/0.1342, allocations: 118.2 kB / 304.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.1344, allocations: 157.3 kB / 304.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.1378, allocations: 3.892 MB / 308.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.445e-05/0.1379, allocations: 26.91 kB / 308.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.1381, allocations: 80.2 kB / 308.6 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001265/0.1393, allocations: 1.435 MB / 310.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.143, allocations: 2.112 MB / 312.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.017/0.16, allocations: 30.45 MB / 342.6 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.162, allocations: 0.9136 MB / 343.5 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/0.1624, allocations: 330.8 kB / 343.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.1624, allocations: 16.56 kB / 343.9 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1624, allocations: 54.92 kB / 343.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 2.795e-06/0.1625, allocations: 0 / 343.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.01249/0.1749, allocations: 6.169 MB / 350.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/0.175, allocations: 140.5 kB / 350.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.1778, allocations: 2.5 MB / 352.7 MB, free: 60 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-05/0.1779, allocations: 37.7 kB / 352.8 MB, free: 16 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.1792, allocations: 2.294 MB / 355.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006118/0.1798, allocations: 469.9 kB / 355.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.1809, allocations: 0.9599 MB / 356.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.181, allocations: 0.5355 MB / 357 MB, free: 11.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000925/0.1819, allocations: 459.6 kB / 357.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/0.1852, allocations: 4.647 MB / 362.1 MB, free: 4.727 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/0.1901, allocations: 5.631 MB / 367.7 MB, free: 13.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.574e-05/0.1901, allocations: 36 kB / 367.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.006818/0.1969, allocations: 4.23 MB / 372 MB, free: 8.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.197, allocations: 48 kB / 372 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.561e-05/0.1971, allocations: 100 kB / 372.1 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.1986, allocations: 0.5616 MB / 372.7 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/0.2011, allocations: 0.997 MB / 373.7 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.2042, allocations: 2.986 MB / 376.7 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/0.2064, allocations: 283 kB / 377 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/0.2067, allocations: 280 kB / 377.2 MB, free: 3.559 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008979/0.2076, allocations: 0.5195 MB / 377.8 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.208, allocations: 242.6 kB / 378 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.2102, allocations: 1.082 MB / 379.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.2102, allocations: 12 kB / 379.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2102, allocations: 4 kB / 379.1 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2102, allocations: 7.922 kB / 379.1 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006004/0.2162, allocations: 3.412 MB / 382.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2162, allocations: 4 kB / 382.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.2167, allocations: 131.8 kB / 382.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.218, allocations: 434.5 kB / 383.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.577e-05/0.2181, allocations: 12 kB / 383.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/0.2207, allocations: 2.47 MB / 385.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2207, allocations: 7.938 kB / 385.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.2239, allocations: 2.006 MB / 387.6 MB, free: 8.996 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.2243, allocations: 206.4 kB / 387.8 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.2245, allocations: 15.94 kB / 387.8 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007588/0.2253, allocations: 97.72 kB / 387.9 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/0.2254, allocations: 67.89 kB / 387.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/0.2255, allocations: 24 kB / 388 MB, free: 8.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001366/0.2269, allocations: 1.042 MB / 389 MB, free: 7.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2269, allocations: 0 / 389 MB, free: 7.535 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002882/0.2298, allocations: 0.7099 MB / 389.7 MB, free: 6.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (75): * Single equations (assignments): 71 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003471/0.2301, allocations: 165.1 kB / 389.9 MB, free: 6.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.2332, allocations: 2.185 MB / 392.1 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2332, allocations: 0 / 392.1 MB, free: 4.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.2337, allocations: 0.5317 MB / 392.6 MB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008645/0.2346, allocations: 235.3 kB / 392.8 MB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.2397, allocations: 4.399 MB / 397.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00059/0.2403, allocations: 0.7372 MB / 398 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001632/0.2419, allocations: 1.183 MB / 399.1 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.2422, allocations: 156.5 kB / 399.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.2422, allocations: 0 / 399.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.02638/0.2686, allocations: 19.66 MB / 419 MB, free: 9.816 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4800193819683045]