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.001778/0.001778, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 14.72 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.002122/0.002122, allocations: 168.9 kB / 24.5 MB, free: 3.453 MB / 14.72 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.438/1.438, allocations: 177.2 MB / 204.9 MB, free: 9.039 MB / 190.1 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 0.001618/0.001618, allocations: 55.84 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1041, allocations: 53.33 MB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00834/0.1124, allocations: 6.323 MB / 385.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005897/0.1183, allocations: 2.995 MB / 388.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005216/0.1188, allocations: 39.81 kB / 388.3 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.1205, allocations: 0.7898 MB / 389 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.1233, allocations: 1.316 MB / 390.4 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.1243, allocations: 0.4951 MB / 390.9 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.1276, allocations: 2.555 MB / 393.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.1289, allocations: 1.09 MB / 394.5 MB, free: 12 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009247/0.1298, allocations: 0.7667 MB / 395.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.1315, allocations: 1.168 MB / 396.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.1318, allocations: 132 kB / 396.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.1332, allocations: 0.7721 MB / 397.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009631/0.1341, allocations: 1.009 MB / 398.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009398/0.1351, allocations: 0.8457 MB / 399.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004569/0.1397, allocations: 3.94 MB / 403.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1397, allocations: 8 kB / 403.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1397, allocations: 0 / 403.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.227e-05/0.1397, allocations: 0 / 403.1 MB, free: 7.34 MB / 366.1 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.005064/0.1448, allocations: 2.861 MB / 406 MB, free: 4.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1448, allocations: 12.03 kB / 406 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006594/0.1514, allocations: 1.731 MB / 407.7 MB, free: 2.688 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.1539, allocations: 1.255 MB / 409 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.154, allocations: 118.9 kB / 409.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003141/0.1543, allocations: 155.8 kB / 409.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009399/0.1637, allocations: 6.367 MB / 415.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.216e-05/0.1638, allocations: 27.75 kB / 415.7 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.164, allocations: 79.89 kB / 415.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002616/0.1666, allocations: 1.444 MB / 417.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.1771, allocations: 5.673 MB / 422.9 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03052/0.2076, allocations: 24.85 MB / 447.7 MB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/0.2121, allocations: 1.769 MB / 449.5 MB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.2135, allocations: 0.9365 MB / 450.4 MB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.2135, allocations: 15.94 kB / 450.4 MB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.2136, allocations: 46.55 kB / 450.5 MB, free: 6.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.186e-06/0.2136, allocations: 0 / 450.5 MB, free: 6.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02286/0.2364, allocations: 8.693 MB / 459.2 MB, free: 13.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.2365, allocations: 140.5 kB / 459.3 MB, free: 13.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/0.2408, allocations: 2.63 MB / 461.9 MB, free: 10.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.241, allocations: 41.7 kB / 462 MB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.2428, allocations: 2.182 MB / 464.2 MB, free: 8.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/0.2433, allocations: 452.6 kB / 464.6 MB, free: 8.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/0.2447, allocations: 0.9011 MB / 465.5 MB, free: 7.312 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.2449, allocations: 353.9 kB / 465.8 MB, free: 6.961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/0.2474, allocations: 1.426 MB / 467.3 MB, free: 5.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1736/0.421, allocations: 4.244 MB / 471.5 MB, free: 79.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/0.4265, allocations: 6.149 MB / 477.7 MB, free: 75.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-05/0.4266, allocations: 27.53 kB / 477.7 MB, free: 75.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01008/0.4367, allocations: 6.106 MB / 483.8 MB, free: 73.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-05/0.4367, allocations: 48.84 kB / 483.8 MB, free: 73.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.292e-05/0.4368, allocations: 99.53 kB / 483.9 MB, free: 73.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.4391, allocations: 0.7987 MB / 484.7 MB, free: 73.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002628/0.4417, allocations: 0.9947 MB / 485.7 MB, free: 73.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/0.4461, allocations: 4.315 MB / 490 MB, free: 70.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.4487, allocations: 270.2 kB / 490.3 MB, free: 70.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/0.4489, allocations: 283.4 kB / 490.6 MB, free: 70.88 MB / 430.1 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.001331/0.4503, allocations: 1.366 MB / 492 MB, free: 70.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.4505, allocations: 216.6 kB / 492.2 MB, free: 70.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/0.4537, allocations: 1.825 MB / 494 MB, free: 69.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.4537, allocations: 18.69 kB / 494 MB, free: 69.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4537, allocations: 0 / 494 MB, free: 69.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.4537, allocations: 8.109 kB / 494 MB, free: 69.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006177/0.4599, allocations: 4.146 MB / 498.2 MB, free: 67.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4599, allocations: 7.938 kB / 498.2 MB, free: 67.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/0.4605, allocations: 131.9 kB / 498.3 MB, free: 67.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/0.4622, allocations: 0.6443 MB / 498.9 MB, free: 66.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/0.4623, allocations: 15.98 kB / 499 MB, free: 66.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003655/0.4659, allocations: 3.798 MB / 0.491 GB, free: 62.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.466, allocations: 0 / 0.491 GB, free: 62.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004512/0.4705, allocations: 3.665 MB / 0.4946 GB, free: 59.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.4708, allocations: 200.2 kB / 0.4947 GB, free: 59.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.471, allocations: 16 kB / 0.4948 GB, free: 59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.4718, allocations: 72.02 kB / 0.4948 GB, free: 58.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.4719, allocations: 55.89 kB / 0.4949 GB, free: 58.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.668e-05/0.472, allocations: 30.89 kB / 0.4949 GB, free: 58.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001711/0.4737, allocations: 1.499 MB / 0.4964 GB, free: 57.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4737, allocations: 0 / 0.4964 GB, free: 57.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002788/0.4765, allocations: 0.6357 MB / 0.497 GB, free: 56.7 MB / 430.1 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.0002392/0.4768, allocations: 146 kB / 0.4971 GB, free: 56.56 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003847/0.4806, allocations: 3.312 MB / 0.5004 GB, free: 53.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4806, allocations: 0 / 0.5004 GB, free: 53.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008747/0.4815, allocations: 0.8698 MB / 0.5012 GB, free: 52.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.4826, allocations: 230.1 kB / 0.5014 GB, free: 52.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.4885, allocations: 5.514 MB / 0.5068 GB, free: 46.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.49, allocations: 1.61 MB / 0.5084 GB, free: 45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002183/0.4921, allocations: 1.372 MB / 0.5097 GB, free: 43.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.4924, allocations: 144.5 kB / 0.5099 GB, free: 43.48 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4924, allocations: 0 / 0.5099 GB, free: 43.48 MB / 430.1 MB Notification: Performance of Templates: time 0.03029/0.5227, allocations: 18.26 MB / 0.5277 GB, free: 25.56 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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.602506652008742]