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.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.002142/0.002142, allocations: 107.6 kB / 21.18 MB, free: 452 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.002804/0.002804, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.631/1.631, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 52.39 kB / 347.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3176, allocations: 49.15 MB / 396.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009963/0.3276, allocations: 6.362 MB / 403.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007164/0.3347, allocations: 2.987 MB / 406.2 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.3362, allocations: 39.84 kB / 406.2 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.3381, allocations: 0.7804 MB / 407 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.3417, allocations: 1.351 MB / 408.4 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.3428, allocations: 499.2 kB / 408.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.3458, allocations: 2.541 MB / 411.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.3469, allocations: 1.096 MB / 412.5 MB, free: 236 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.348, allocations: 0.7793 MB / 413.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.3497, allocations: 1.185 MB / 414.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.35, allocations: 134.7 kB / 414.6 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.3518, allocations: 0.7783 MB / 415.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.3529, allocations: 1.027 MB / 416.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.354, allocations: 0.8595 MB / 417.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005509/0.3595, allocations: 3.988 MB / 421.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3595, allocations: 0 / 421.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3595, allocations: 0 / 421.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.36e-05/0.3596, allocations: 0 / 421.2 MB, free: 10.76 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.006758/0.3663, allocations: 2.892 MB / 424.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3664, allocations: 11.98 kB / 424.1 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006123/0.3725, allocations: 1.656 MB / 425.8 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003917/0.3764, allocations: 1.337 MB / 427.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.3766, allocations: 114.9 kB / 427.2 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.377, allocations: 159.8 kB / 427.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.3884, allocations: 6.359 MB / 433.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-05/0.3885, allocations: 35.73 kB / 433.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.3887, allocations: 79.89 kB / 433.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002775/0.3915, allocations: 1.433 MB / 435.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.4026, allocations: 5.662 MB / 441 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03303/0.4357, allocations: 24.77 MB / 465.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004319/0.44, allocations: 1.742 MB / 467.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.4413, allocations: 0.9402 MB / 468.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.4414, allocations: 15.98 kB / 468.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.4414, allocations: 42.5 kB / 468.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=98): time 3.277e-06/0.4414, allocations: 0 / 468.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02206/0.4635, allocations: 8.518 MB / 477 MB, free: 1.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.4636, allocations: 144.5 kB / 477.1 MB, free: 1.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/0.4674, allocations: 2.65 MB / 479.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.4676, allocations: 41.7 kB / 479.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.4694, allocations: 2.186 MB / 482 MB, free: 12.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006461/0.47, allocations: 452.6 kB / 482.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.4713, allocations: 0.901 MB / 483.4 MB, free: 10.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.4715, allocations: 353.9 kB / 483.7 MB, free: 10.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/0.4739, allocations: 1.418 MB / 485.1 MB, free: 9.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004962/0.4788, allocations: 4.242 MB / 489.4 MB, free: 3.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007788/0.4866, allocations: 6.134 MB / 495.5 MB, free: 11.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.182e-05/0.4867, allocations: 28 kB / 495.5 MB, free: 11.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01293/0.4996, allocations: 6.079 MB / 0.4898 GB, free: 5.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.4997, allocations: 51.94 kB / 0.4899 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.4999, allocations: 104 kB / 0.49 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.5022, allocations: 0.8011 MB / 0.4908 GB, free: 4.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/0.5054, allocations: 0.9942 MB / 0.4917 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/0.5117, allocations: 4.311 MB / 0.496 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.5148, allocations: 259.6 kB / 0.4962 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005487/0.5154, allocations: 276 kB / 0.4965 GB, free: 14.96 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.00242/0.5178, allocations: 1.364 MB / 0.4978 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.5183, allocations: 214.5 kB / 0.498 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003995/0.5223, allocations: 1.823 MB / 0.4998 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.5223, allocations: 12 kB / 0.4998 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.5223, allocations: 4 kB / 0.4998 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.5223, allocations: 11.92 kB / 0.4998 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009275/0.5316, allocations: 4.131 MB / 0.5038 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.5316, allocations: 8.062 kB / 0.5039 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/0.5323, allocations: 139.8 kB / 0.504 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/0.5344, allocations: 0.6366 MB / 0.5046 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.5345, allocations: 20 kB / 0.5046 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005673/0.5402, allocations: 3.795 MB / 0.5083 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.5402, allocations: 11.91 kB / 0.5083 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006516/0.5467, allocations: 3.666 MB / 0.5119 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.5479, allocations: 342.4 kB / 0.5123 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.5481, allocations: 19.98 kB / 0.5123 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/0.549, allocations: 64.03 kB / 0.5123 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.5492, allocations: 63.77 kB / 0.5124 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.5493, allocations: 32 kB / 0.5124 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002862/0.5521, allocations: 1.507 MB / 0.5139 GB, free: 12.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5521, allocations: 0 / 0.5139 GB, free: 12.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003789/0.5559, allocations: 0.6445 MB / 0.5145 GB, free: 12.22 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.000364/0.5563, allocations: 147 kB / 0.5147 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005881/0.5622, allocations: 3.296 MB / 0.5179 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5622, allocations: 0 / 0.5179 GB, free: 8.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.5634, allocations: 0.8655 MB / 0.5187 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.565, allocations: 224.6 kB / 0.5189 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.5753, allocations: 5.536 MB / 0.5243 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.5775, allocations: 1.628 MB / 0.5259 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00301/0.5805, allocations: 1.363 MB / 0.5273 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.5809, allocations: 151.4 kB / 0.5274 GB, free: 14.9 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5809, allocations: 7.938 kB / 0.5274 GB, free: 14.89 MB / 462.1 MB Notification: Performance of Templates: time 0.0442/0.6252, allocations: 20.87 MB / 0.5478 GB, free: 9.945 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.296668395400047]