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.001596/0.001596, allocations: 108.2 kB / 19.04 MB, free: 3.25 MB / 14.72 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.001959/0.001959, allocations: 200.4 kB / 22.22 MB, free: 64 kB / 14.72 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 1.413/1.413, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001573/0.001573, allocations: 43.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2807, allocations: 52.15 MB / 420.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009027/0.2897, allocations: 7.179 MB / 428 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006167/0.2959, allocations: 3.2 MB / 431.2 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007869/0.2967, allocations: 31.94 kB / 431.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.2984, allocations: 0.8015 MB / 432.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.3016, allocations: 1.339 MB / 433.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3027, allocations: 491 kB / 433.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.3065, allocations: 2.535 MB / 436.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.3079, allocations: 0.9541 MB / 437.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.309, allocations: 0.7588 MB / 438.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.3106, allocations: 1.215 MB / 439.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003449/0.311, allocations: 140 kB / 439.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001792/0.3128, allocations: 0.9125 MB / 440.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001218/0.314, allocations: 1.02 MB / 441.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.3156, allocations: 1.199 MB / 442.6 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005886/0.3215, allocations: 3.977 MB / 446.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.3215, allocations: 4 kB / 446.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3215, allocations: 0 / 446.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001096/0.3216, allocations: 0 / 446.6 MB, free: 5.406 MB / 350.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.005982/0.3276, allocations: 2.963 MB / 449.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.3276, allocations: 12.03 kB / 449.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006143/0.3338, allocations: 1.656 MB / 451.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/0.3369, allocations: 1.328 MB / 452.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3371, allocations: 122.8 kB / 452.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003914/0.3375, allocations: 155.8 kB / 452.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3483, allocations: 6.359 MB / 459.2 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.976e-05/0.3484, allocations: 35.7 kB / 459.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002583/0.3486, allocations: 79.89 kB / 459.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002565/0.3512, allocations: 1.444 MB / 460.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.3619, allocations: 5.662 MB / 466.4 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03248/0.3944, allocations: 26.25 MB / 492.7 MB, free: 5.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004832/0.3992, allocations: 2.199 MB / 494.9 MB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.4007, allocations: 0.941 MB / 495.8 MB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.126e-05/0.4008, allocations: 11.98 kB / 495.8 MB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.4008, allocations: 46.5 kB / 495.9 MB, free: 2.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.666e-06/0.4008, allocations: 0 / 495.9 MB, free: 2.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02359/0.4244, allocations: 8.704 MB / 0.4927 GB, free: 9.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.4245, allocations: 148.5 kB / 0.4929 GB, free: 9.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004203/0.4287, allocations: 2.824 MB / 0.4956 GB, free: 6.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.4289, allocations: 37.7 kB / 0.4957 GB, free: 6.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001732/0.4306, allocations: 2.166 MB / 0.4978 GB, free: 4.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005434/0.4312, allocations: 456.6 kB / 0.4982 GB, free: 3.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.4324, allocations: 0.8933 MB / 0.4991 GB, free: 3.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4325, allocations: 301.1 kB / 0.4994 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.4347, allocations: 1.418 MB / 0.5008 GB, free: 1.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004417/0.4391, allocations: 4.246 MB / 0.5049 GB, free: 11.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007475/0.4466, allocations: 6.134 MB / 0.5109 GB, free: 4.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-05/0.4467, allocations: 36 kB / 0.5109 GB, free: 4.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01229/0.4589, allocations: 6.107 MB / 0.5169 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.842e-05/0.459, allocations: 50.66 kB / 0.517 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001379/0.4592, allocations: 100 kB / 0.5171 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002342/0.4615, allocations: 0.804 MB / 0.5178 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.4645, allocations: 0.9902 MB / 0.5188 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.4708, allocations: 4.473 MB / 0.5232 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/0.4744, allocations: 243.7 kB / 0.5234 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005897/0.475, allocations: 280 kB / 0.5237 GB, free: 6.914 MB / 446.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.002489/0.4774, allocations: 1.371 MB / 0.525 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/0.4779, allocations: 242.4 kB / 0.5252 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.4821, allocations: 1.842 MB / 0.527 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/0.4821, allocations: 19.94 kB / 0.5271 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4822, allocations: 4 kB / 0.5271 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4822, allocations: 3.984 kB / 0.5271 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009867/0.492, allocations: 4.782 MB / 0.5317 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.492, allocations: 0 / 0.5317 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006684/0.4927, allocations: 139.8 kB / 0.5319 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002134/0.4948, allocations: 0.6522 MB / 0.5325 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.495, allocations: 15.91 kB / 0.5325 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005503/0.5005, allocations: 3.961 MB / 0.5364 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5005, allocations: 0 / 0.5364 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006432/0.5069, allocations: 3.694 MB / 0.54 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007371/0.5076, allocations: 299.3 kB / 0.5403 GB, free: 5.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.5079, allocations: 23.92 kB / 0.5403 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008506/0.5087, allocations: 55.92 kB / 0.5404 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.5089, allocations: 59.91 kB / 0.5404 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/0.509, allocations: 40.05 kB / 0.5405 GB, free: 5.422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00288/0.5119, allocations: 1.746 MB / 0.5422 GB, free: 3.668 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5119, allocations: 0 / 0.5422 GB, free: 3.668 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003295/0.5152, allocations: 0.6445 MB / 0.5428 GB, free: 3.023 MB / 462.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.0003419/0.5155, allocations: 159.7 kB / 0.5429 GB, free: 2.859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1971/0.7126, allocations: 3.296 MB / 0.5462 GB, free: 123.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.7126, allocations: 0.5 kB / 0.5462 GB, free: 123.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.7143, allocations: 0.8706 MB / 0.547 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.7159, allocations: 251.4 kB / 0.5473 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007933/0.7239, allocations: 5.559 MB / 0.5527 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001585/0.7254, allocations: 2.188 MB / 0.5548 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002383/0.7278, allocations: 1.401 MB / 0.5562 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.7282, allocations: 166.9 kB / 0.5563 GB, free: 120.6 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7282, allocations: 0 / 0.5563 GB, free: 120.6 MB / 462.1 MB Notification: Performance of Templates: time 0.0339/0.7621, allocations: 22.06 MB / 0.5779 GB, free: 101.9 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.751202531158924]