Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 96.91 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 205.9 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002391/0.0002392, allocations: 8 kB / 307.7 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08725/0.0875, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.1956/0.2831, allocations: 13.41 MB / 372.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009095/0.2922, allocations: 4.306 MB / 377 MB, free: 8.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.2945, allocations: 57.19 kB / 377 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008752/0.2954, allocations: 274.4 kB / 377.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003144/0.2985, allocations: 1.209 MB / 378.5 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.3001, allocations: 464.7 kB / 379 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005809/0.3059, allocations: 3.452 MB / 382.4 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002944/0.3089, allocations: 1.417 MB / 383.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.3103, allocations: 0.6134 MB / 384.5 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/0.3127, allocations: 1.151 MB / 385.6 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004378/0.3131, allocations: 77.62 kB / 385.7 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.3153, allocations: 0.8661 MB / 386.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.3164, allocations: 0.9614 MB / 387.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.3176, allocations: 1.147 MB / 388.7 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.3217, allocations: 3.653 MB / 392.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3218, allocations: 0 / 392.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3218, allocations: 1.375 kB / 392.3 MB, free: 3.039 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.155e-05/0.3218, allocations: 0 / 392.3 MB, free: 3.039 MB / 302.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.005342/0.3272, allocations: 2.385 MB / 394.7 MB, free: 1.301 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3272, allocations: 13.56 kB / 394.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008286/0.3355, allocations: 1.684 MB / 396.4 MB, free: 460 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002106/0.3377, allocations: 1.284 MB / 397.7 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.3378, allocations: 118.9 kB / 397.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.3381, allocations: 163.8 kB / 398 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00929/0.3474, allocations: 6.366 MB / 404.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.578e-05/0.3475, allocations: 31.75 kB / 404.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.3477, allocations: 80.59 kB / 404.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002527/0.3503, allocations: 1.443 MB / 405.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009346/0.3596, allocations: 5.678 MB / 411.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02577/0.3854, allocations: 26.27 MB / 437.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004195/0.3896, allocations: 2.258 MB / 440.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.391, allocations: 1.015 MB / 441.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.391, allocations: 13.95 kB / 441.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3911, allocations: 54.38 kB / 441.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 3.276e-06/0.3911, allocations: 0 / 441.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02051/0.4116, allocations: 8.553 MB / 449.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.4117, allocations: 144.4 kB / 449.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003541/0.4153, allocations: 2.811 MB / 452.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.98e-05/0.4154, allocations: 44.75 kB / 452.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.4169, allocations: 2.065 MB / 454.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004422/0.4173, allocations: 441.2 kB / 455.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004819/0.4178, allocations: 371.4 kB / 455.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4179, allocations: 309.1 kB / 455.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.42, allocations: 1.418 MB / 457.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/0.4239, allocations: 4.238 MB / 461.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006687/0.4306, allocations: 6.133 MB / 467.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.773e-05/0.4306, allocations: 28 kB / 467.7 MB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.0102/0.4409, allocations: 6.108 MB / 473.8 MB, free: 0.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.4409, allocations: 48 kB / 473.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.749e-05/0.441, allocations: 100 kB / 473.9 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/0.4433, allocations: 0.8013 MB / 474.7 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.446, allocations: 0.9864 MB / 475.7 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005269/0.4513, allocations: 4.159 MB / 479.9 MB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.4539, allocations: 247.6 kB / 480.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003192/0.4542, allocations: 279.1 kB / 480.4 MB, free: 9.844 MB / 398.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.001886/0.4561, allocations: 1.386 MB / 481.8 MB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.4564, allocations: 229 kB / 482 MB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.4604, allocations: 1.849 MB / 483.9 MB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.4604, allocations: 12 kB / 483.9 MB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4604, allocations: 4 kB / 483.9 MB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.4605, allocations: 7.969 kB / 483.9 MB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007942/0.4684, allocations: 4.813 MB / 488.7 MB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4684, allocations: 0 / 488.7 MB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/0.469, allocations: 131.8 kB / 488.8 MB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00211/0.4711, allocations: 0.6448 MB / 489.5 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.4712, allocations: 30.06 kB / 489.5 MB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.4759, allocations: 3.691 MB / 493.2 MB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4759, allocations: 7.969 kB / 493.2 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005679/0.4816, allocations: 3.69 MB / 496.9 MB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004629/0.4821, allocations: 294 kB / 497.2 MB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.4823, allocations: 12 kB / 497.2 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/0.4832, allocations: 63.91 kB / 497.2 MB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.4833, allocations: 59.86 kB / 497.3 MB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.4834, allocations: 28.06 kB / 497.3 MB, free: 8.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002512/0.4859, allocations: 1.753 MB / 499.1 MB, free: 6.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4859, allocations: 0 / 499.1 MB, free: 6.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003036/0.489, allocations: 0.6386 MB / 499.7 MB, free: 6.234 MB / 414.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.000311/0.4893, allocations: 146.4 kB / 499.9 MB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005711/0.495, allocations: 3.394 MB / 0.4915 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.495, allocations: 0 / 0.4915 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.4962, allocations: 0.94 MB / 0.4924 GB, free: 1.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.4981, allocations: 247.2 kB / 0.4926 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.5072, allocations: 6.689 MB / 0.4992 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.5094, allocations: 2.188 MB / 0.5013 GB, free: 8.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003068/0.5124, allocations: 1.392 MB / 0.5026 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.5128, allocations: 163.4 kB / 0.5028 GB, free: 6.984 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5128, allocations: 0 / 0.5028 GB, free: 6.984 MB / 430.1 MB Notification: Performance of Templates: time 0.03886/0.5517, allocations: 21.7 MB / 0.524 GB, free: 1.375 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches