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.002139/0.002139, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002151/0.002151, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.323e-06/1.323e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.908e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009967/0.009996, allocations: 6.909 MB / 279.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006537/0.01653, allocations: 3.092 MB / 282.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.01719, allocations: 39.81 kB / 282.4 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.01912, allocations: 0.8287 MB / 283.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.02232, allocations: 1.373 MB / 284.6 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.02355, allocations: 0.5299 MB / 285.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00405/0.0276, allocations: 2.905 MB / 288 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.02944, allocations: 1.387 MB / 289.4 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1141/0.1435, allocations: 1.181 MB / 290.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.1457, allocations: 1.299 MB / 291.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.1461, allocations: 138.2 kB / 292 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.1476, allocations: 0.8125 MB / 292.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009333/0.1485, allocations: 1.054 MB / 293.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008222/0.1493, allocations: 0.6334 MB / 294.5 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.1537, allocations: 3.947 MB / 298.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1537, allocations: 1.156 kB / 298.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1537, allocations: 1.25 kB / 298.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.056e-05/0.1537, allocations: 0 / 298.5 MB, free: 15.62 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.005738/0.1595, allocations: 3.422 MB / 301.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1595, allocations: 9.625 kB / 301.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006427/0.1659, allocations: 1.987 MB / 303.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/0.1684, allocations: 1.151 MB / 305 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.93e-05/0.1685, allocations: 116.4 kB / 305.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.1688, allocations: 155.9 kB / 305.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005789/0.1746, allocations: 4.137 MB / 309.4 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.579e-05/0.1746, allocations: 29.53 kB / 309.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.1749, allocations: 75.62 kB / 309.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/0.177, allocations: 1.439 MB / 311 MB, free: 9.297 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005683/0.1827, allocations: 2.375 MB / 313.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03575/0.2185, allocations: 32.4 MB / 345.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/0.2221, allocations: 0.9706 MB / 346.7 MB, free: 5.492 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000757/0.2229, allocations: 342.8 kB / 347.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.2229, allocations: 15.94 kB / 347.1 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.223, allocations: 56.19 kB / 347.1 MB, free: 5.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 3.326e-06/0.223, allocations: 0 / 347.1 MB, free: 5.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.02056/0.2435, allocations: 6.249 MB / 353.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.2437, allocations: 143.3 kB / 353.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004891/0.2485, allocations: 3.101 MB / 356.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.2487, allocations: 40.59 kB / 356.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002168/0.2508, allocations: 2.425 MB / 359.1 MB, free: 9.004 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/0.2514, allocations: 493.6 kB / 359.6 MB, free: 8.527 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001685/0.2531, allocations: 1.113 MB / 360.7 MB, free: 7.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003365/0.2535, allocations: 0.555 MB / 361.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.2547, allocations: 0.4926 MB / 361.7 MB, free: 6.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005362/0.2601, allocations: 4.832 MB / 366.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008077/0.2682, allocations: 5.862 MB / 372.4 MB, free: 7.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.019e-05/0.2683, allocations: 32 kB / 372.5 MB, free: 7.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.0103/0.2786, allocations: 4.332 MB / 376.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.88e-05/0.2786, allocations: 48 kB / 376.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.2788, allocations: 100 kB / 376.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/0.2811, allocations: 0.575 MB / 377.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/0.2841, allocations: 0.9903 MB / 378.5 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/0.2892, allocations: 3.072 MB / 381.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003157/0.2924, allocations: 283.6 kB / 381.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005175/0.2929, allocations: 276 kB / 382.1 MB, free: 14 MB / 346.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.001365/0.2943, allocations: 0.5934 MB / 382.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005098/0.2948, allocations: 238.5 kB / 382.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.2983, allocations: 1.105 MB / 384 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.2983, allocations: 12 kB / 384.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2983, allocations: 4 kB / 384.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.2984, allocations: 7.969 kB / 384.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00994/0.3083, allocations: 3.945 MB / 388 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.3083, allocations: 7.984 kB / 388 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.309, allocations: 139.7 kB / 388.2 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.311, allocations: 435.9 kB / 388.6 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/0.3111, allocations: 22.75 kB / 388.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/0.3152, allocations: 2.529 MB / 391.1 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3152, allocations: 4 kB / 391.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/0.3199, allocations: 2.093 MB / 393.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.3205, allocations: 222.3 kB / 393.4 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.3208, allocations: 12 kB / 393.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.3218, allocations: 99.91 kB / 393.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.3219, allocations: 55.83 kB / 393.6 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.322, allocations: 34.19 kB / 393.6 MB, free: 2.227 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002271/0.3243, allocations: 1.23 MB / 394.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3243, allocations: 0 / 394.9 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00356/0.3279, allocations: 0.7109 MB / 395.6 MB, free: 276 kB / 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.0004048/0.3283, allocations: 168 kB / 395.7 MB, free: 104 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004693/0.333, allocations: 2.394 MB / 398.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.333, allocations: 4 kB / 398.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009976/0.334, allocations: 0.5664 MB / 398.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.3354, allocations: 238.2 kB / 398.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008017/0.3434, allocations: 4.455 MB / 403.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/0.3456, allocations: 1.455 MB / 404.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002855/0.3485, allocations: 1.189 MB / 406 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004092/0.3489, allocations: 160.4 kB / 406.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3489, allocations: 0 / 406.2 MB, free: 5.516 MB / 362.7 MB Notification: Performance of Templates: time 0.04486/0.3937, allocations: 19.63 MB / 425.8 MB, free: 2.246 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.943804683978669]