Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001289/0.001289, allocations: 106 kB / 21.18 MB, free: 0.707 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.001342/0.001342, allocations: 183.9 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 60.38 kB / 347.7 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2847, allocations: 49.16 MB / 396.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.007417/0.2921, allocations: 7.172 MB / 404 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006191/0.2983, allocations: 3.21 MB / 407.2 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009809/0.2993, allocations: 39.5 kB / 407.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.3011, allocations: 0.8067 MB / 408 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.3044, allocations: 1.345 MB / 409.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3056, allocations: 0.4888 MB / 409.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002933/0.3086, allocations: 2.547 MB / 412.4 MB, free: 168 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.3098, allocations: 0.9577 MB / 413.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3109, allocations: 0.787 MB / 414.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.3126, allocations: 1.219 MB / 415.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.3129, allocations: 135 kB / 415.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.3147, allocations: 0.9031 MB / 416.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.3158, allocations: 1.023 MB / 417.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.3171, allocations: 1.197 MB / 418.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005027/0.3221, allocations: 3.976 MB / 422.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3222, allocations: 7.938 kB / 422.6 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.3222, allocations: 7.984 kB / 422.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.736e-05/0.3223, allocations: 0 / 422.6 MB, free: 9.68 MB / 334.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.006149/0.3284, allocations: 2.884 MB / 425.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3284, allocations: 11.98 kB / 425.5 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/0.3348, allocations: 1.656 MB / 427.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.3379, allocations: 1.329 MB / 428.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.338, allocations: 118.9 kB / 428.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.3384, allocations: 159.8 kB / 428.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.349, allocations: 6.359 MB / 435.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.086e-05/0.349, allocations: 31.75 kB / 435.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002528/0.3493, allocations: 79.89 kB / 435.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002729/0.352, allocations: 1.441 MB / 436.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0107/0.3627, allocations: 5.666 MB / 442.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.3955, allocations: 26.15 MB / 468.5 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004326/0.3999, allocations: 1.736 MB / 470.2 MB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.4013, allocations: 0.948 MB / 471.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.4014, allocations: 15.98 kB / 471.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.4014, allocations: 38.56 kB / 471.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 2.946e-06/0.4014, allocations: 3.938 kB / 471.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02116/0.4226, allocations: 8.508 MB / 479.8 MB, free: 14.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/0.4227, allocations: 136.5 kB / 479.9 MB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003874/0.4265, allocations: 2.84 MB / 482.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/0.4267, allocations: 33.7 kB / 482.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/0.4283, allocations: 2.163 MB / 484.9 MB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005047/0.4288, allocations: 456.6 kB / 485.4 MB, free: 9.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/0.43, allocations: 0.8934 MB / 486.3 MB, free: 8.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4301, allocations: 305.1 kB / 486.6 MB, free: 8.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.4326, allocations: 1.422 MB / 488 MB, free: 6.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/0.4374, allocations: 4.246 MB / 492.2 MB, free: 0.9648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008811/0.4462, allocations: 6.135 MB / 498.4 MB, free: 9.418 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/0.4463, allocations: 28 kB / 498.4 MB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01373/0.4601, allocations: 6.105 MB / 0.4927 GB, free: 3.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.082e-05/0.4601, allocations: 51.98 kB / 0.4927 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/0.4603, allocations: 100 kB / 0.4928 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/0.4627, allocations: 0.8013 MB / 0.4936 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/0.466, allocations: 0.9902 MB / 0.4946 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006617/0.4726, allocations: 4.369 MB / 0.4988 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003591/0.4762, allocations: 259.7 kB / 0.4991 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007054/0.4769, allocations: 272 kB / 0.4993 GB, free: 12.32 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.002314/0.4792, allocations: 1.368 MB / 0.5007 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.4796, allocations: 242.4 kB / 0.5009 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.4838, allocations: 1.841 MB / 0.5027 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.14e-05/0.4838, allocations: 19.94 kB / 0.5027 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4838, allocations: 0 / 0.5027 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.4838, allocations: 7.984 kB / 0.5027 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009761/0.4936, allocations: 4.77 MB / 0.5074 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.4936, allocations: 4 kB / 0.5074 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.4942, allocations: 131.8 kB / 0.5075 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/0.4964, allocations: 0.6444 MB / 0.5082 GB, free: 3.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.4965, allocations: 23.98 kB / 0.5082 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005439/0.5019, allocations: 3.849 MB / 0.5119 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5019, allocations: 0 / 0.5119 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006382/0.5083, allocations: 3.695 MB / 0.5155 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.5096, allocations: 378.1 kB / 0.5159 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.5098, allocations: 19.94 kB / 0.5159 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.5107, allocations: 63.89 kB / 0.516 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.5109, allocations: 63.89 kB / 0.516 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/0.511, allocations: 28 kB / 0.5161 GB, free: 10.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003053/0.5141, allocations: 1.762 MB / 0.5178 GB, free: 9.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5141, allocations: 0 / 0.5178 GB, free: 9.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003833/0.5179, allocations: 0.6445 MB / 0.5184 GB, free: 8.523 MB / 446.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.0004141/0.5183, allocations: 147 kB / 0.5186 GB, free: 8.371 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006209/0.5245, allocations: 3.296 MB / 0.5218 GB, free: 5.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5245, allocations: 4 kB / 0.5218 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.5258, allocations: 0.8574 MB / 0.5226 GB, free: 4.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.5277, allocations: 266.1 kB / 0.5229 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009996/0.5377, allocations: 5.573 MB / 0.5283 GB, free: 14.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002276/0.54, allocations: 2.192 MB / 0.5305 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002945/0.5429, allocations: 1.396 MB / 0.5318 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003971/0.5433, allocations: 159.4 kB / 0.532 GB, free: 10.53 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5433, allocations: 0 / 0.532 GB, free: 10.53 MB / 462.1 MB Notification: Performance of Templates: time 0.04987/0.5932, allocations: 23.94 MB / 0.5553 GB, free: 2.551 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 6.163957533426583]