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.001815/0.001815, allocations: 104.9 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 227.4 MB / 246.4 MB, free: 9.066 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 64.2 kB / 306.3 MB, free: 0.7695 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.09951, allocations: 50.55 MB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01649/0.116, allocations: 14 MB / 370.9 MB, free: 160 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1748/0.2909, allocations: 4.364 MB / 375.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.2926, allocations: 53.53 kB / 375.3 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001586/0.2942, allocations: 0.7497 MB / 376 MB, free: 8.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.297, allocations: 1.206 MB / 377.2 MB, free: 8.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.298, allocations: 452 kB / 377.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00432/0.3023, allocations: 3.462 MB / 381.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.3041, allocations: 1.133 MB / 382.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.3053, allocations: 0.6606 MB / 382.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.3069, allocations: 1.191 MB / 384.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.3072, allocations: 94.19 kB / 384.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3089, allocations: 0.8845 MB / 385.1 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008673/0.3098, allocations: 0.964 MB / 386.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008578/0.3106, allocations: 1.158 MB / 387.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.3141, allocations: 3.727 MB / 391 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3141, allocations: 1.094 kB / 391 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3141, allocations: 0 / 391 MB, free: 2.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.688e-05/0.3142, allocations: 4 kB / 391 MB, free: 2.859 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.004822/0.319, allocations: 2.861 MB / 393.8 MB, free: 0.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.3191, allocations: 10 kB / 393.8 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/0.3247, allocations: 1.636 MB / 395.5 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.3273, allocations: 1.297 MB / 396.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.3274, allocations: 118.2 kB / 396.9 MB, free: 15.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.3277, allocations: 157.3 kB / 397 MB, free: 15.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009481/0.3372, allocations: 6.357 MB / 403.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.637e-05/0.3373, allocations: 39.64 kB / 403.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.3375, allocations: 83.34 kB / 403.5 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002625/0.3401, allocations: 1.436 MB / 404.9 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009904/0.3501, allocations: 5.67 MB / 410.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03251/0.3826, allocations: 26.28 MB / 436.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004688/0.3873, allocations: 2.262 MB / 439.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.3889, allocations: 1.022 MB / 440.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.389, allocations: 11.36 kB / 440.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.001e-05/0.389, allocations: 46.5 kB / 440.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=98): time 5.219e-06/0.3891, allocations: 0 / 440.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=106): time 0.02218/0.4112, allocations: 8.571 MB / 448.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/0.4114, allocations: 148.4 kB / 448.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/0.4155, allocations: 2.815 MB / 451.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.776e-05/0.4156, allocations: 41.7 kB / 451.8 MB, free: 8.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/0.4172, allocations: 2.064 MB / 453.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.4177, allocations: 436.6 kB / 454.3 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.4189, allocations: 0.8907 MB / 455.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4191, allocations: 305.1 kB / 455.5 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.4213, allocations: 1.422 MB / 456.9 MB, free: 3.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004792/0.4261, allocations: 4.246 MB / 461.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00749/0.4336, allocations: 6.128 MB / 467.3 MB, free: 5.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.951e-05/0.4337, allocations: 32 kB / 467.3 MB, free: 5.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01099/0.4447, allocations: 6.106 MB / 473.4 MB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-05/0.4448, allocations: 48 kB / 473.5 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/0.4449, allocations: 100 kB / 473.6 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/0.4473, allocations: 0.8004 MB / 474.4 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002835/0.4501, allocations: 0.9903 MB / 475.3 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006012/0.4561, allocations: 4.148 MB / 479.5 MB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/0.459, allocations: 247.6 kB / 479.7 MB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/0.4594, allocations: 272 kB / 480 MB, free: 9.027 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.002166/0.4616, allocations: 1.385 MB / 481.4 MB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/0.462, allocations: 229 kB / 481.6 MB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.466, allocations: 1.845 MB / 483.5 MB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.466, allocations: 12 kB / 483.5 MB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.466, allocations: 4 kB / 483.5 MB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.4661, allocations: 15.91 kB / 483.5 MB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008682/0.4747, allocations: 4.812 MB / 488.3 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.4748, allocations: 0 / 488.3 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.4754, allocations: 143.8 kB / 488.4 MB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/0.4775, allocations: 0.6444 MB / 489.1 MB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.4776, allocations: 19.94 kB / 489.1 MB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00527/0.4829, allocations: 3.696 MB / 492.8 MB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4829, allocations: 3.938 kB / 492.8 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006189/0.4891, allocations: 3.69 MB / 496.5 MB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.4896, allocations: 286 kB / 496.8 MB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.4899, allocations: 19.94 kB / 496.8 MB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008518/0.4907, allocations: 63.97 kB / 496.9 MB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.4909, allocations: 59.86 kB / 496.9 MB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.491, allocations: 26.34 kB / 496.9 MB, free: 7.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002728/0.4937, allocations: 1.75 MB / 498.7 MB, free: 6.062 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4937, allocations: 0 / 498.7 MB, free: 6.062 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003113/0.4968, allocations: 0.6405 MB / 499.3 MB, free: 5.422 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.0003236/0.4972, allocations: 145.5 kB / 499.5 MB, free: 5.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005425/0.5026, allocations: 3.408 MB / 0.4911 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5026, allocations: 0 / 0.4911 GB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.504, allocations: 0.9267 MB / 0.492 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.5055, allocations: 252.1 kB / 0.4922 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009433/0.5149, allocations: 6.621 MB / 0.4987 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002308/0.5172, allocations: 2.184 MB / 0.5008 GB, free: 7.801 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003231/0.5205, allocations: 1.396 MB / 0.5022 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.5209, allocations: 159.4 kB / 0.5024 GB, free: 6.242 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5209, allocations: 0 / 0.5024 GB, free: 6.242 MB / 430.1 MB Notification: Performance of Templates: time 0.04323/0.5641, allocations: 22.01 MB / 0.5238 GB, free: 336 kB / 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.1.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