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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 64.03 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2463, allocations: 50.56 MB / 408.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008401/0.2547, allocations: 7.081 MB / 415.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.2605, allocations: 3.166 MB / 419.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007702/0.2613, allocations: 31.94 kB / 419.1 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.263, allocations: 0.7898 MB / 419.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.266, allocations: 1.292 MB / 421.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.267, allocations: 491 kB / 421.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.2703, allocations: 2.57 MB / 424.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.2717, allocations: 1.149 MB / 425.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008631/0.2725, allocations: 0.7471 MB / 426.1 MB, free: 228 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.2739, allocations: 1.102 MB / 427.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002862/0.2742, allocations: 132 kB / 427.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.2758, allocations: 0.8619 MB / 428.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009402/0.2767, allocations: 0.9816 MB / 429.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.2779, allocations: 1.184 MB / 430.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004165/0.2821, allocations: 3.943 MB / 434.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2821, allocations: 0 / 434.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2821, allocations: 3.938 kB / 434.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.653e-05/0.2822, allocations: 0 / 434.3 MB, free: 7.988 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.005062/0.2873, allocations: 2.956 MB / 437.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.2873, allocations: 12.03 kB / 437.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000501/0.2878, allocations: 450 kB / 437.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/0.2938, allocations: 1.664 MB / 439.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.2967, allocations: 1.547 MB / 441 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.2968, allocations: 114.9 kB / 441.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.2971, allocations: 155.9 kB / 441.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009719/0.3069, allocations: 6.363 MB / 447.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.501e-05/0.307, allocations: 35.7 kB / 447.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/0.3073, allocations: 79.89 kB / 447.7 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002519/0.3098, allocations: 1.429 MB / 449.1 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.3204, allocations: 5.67 MB / 454.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03066/0.3511, allocations: 26.24 MB / 481 MB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/0.3555, allocations: 2.265 MB / 483.3 MB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.357, allocations: 1.022 MB / 484.3 MB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.357, allocations: 15.98 kB / 484.3 MB, free: 4.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.3571, allocations: 42.56 kB / 484.4 MB, free: 4.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.875e-06/0.3571, allocations: 0 / 484.4 MB, free: 4.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02084/0.3779, allocations: 8.724 MB / 493.1 MB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/0.378, allocations: 136.5 kB / 493.2 MB, free: 11.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/0.3819, allocations: 2.832 MB / 496.1 MB, free: 8.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.3821, allocations: 41.69 kB / 496.1 MB, free: 8.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.3837, allocations: 2.155 MB / 498.3 MB, free: 6.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/0.3842, allocations: 452.7 kB / 498.7 MB, free: 5.762 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.3853, allocations: 0.8895 MB / 499.6 MB, free: 4.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3855, allocations: 301.1 kB / 499.9 MB, free: 4.562 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.3876, allocations: 1.41 MB / 0.4896 GB, free: 3.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004414/0.3921, allocations: 4.245 MB / 0.4937 GB, free: 13.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007356/0.3995, allocations: 6.12 MB / 0.4997 GB, free: 5.941 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.452e-05/0.3996, allocations: 32 kB / 0.4997 GB, free: 5.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01148/0.411, allocations: 6.094 MB / 0.5057 GB, free: 15.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.364e-05/0.4111, allocations: 48 kB / 0.5057 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.4113, allocations: 103.9 kB / 0.5058 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002336/0.4136, allocations: 0.8008 MB / 0.5066 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.4166, allocations: 0.9863 MB / 0.5076 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/0.4226, allocations: 4.473 MB / 0.5119 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.4256, allocations: 243.6 kB / 0.5122 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006293/0.4262, allocations: 272 kB / 0.5124 GB, free: 8.746 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 (533): * Single equations (assignments): 529 * 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.002092/0.4283, allocations: 1.375 MB / 0.5138 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/0.4288, allocations: 242.4 kB / 0.514 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/0.4327, allocations: 1.849 MB / 0.5158 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.921e-05/0.4328, allocations: 15.94 kB / 0.5158 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.4328, allocations: 8 kB / 0.5158 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.4328, allocations: 7.984 kB / 0.5158 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008931/0.4418, allocations: 4.783 MB / 0.5205 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.4418, allocations: 8.031 kB / 0.5205 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.4425, allocations: 127.9 kB / 0.5206 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.4446, allocations: 0.6521 MB / 0.5213 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/0.4448, allocations: 16 kB / 0.5213 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005443/0.4502, allocations: 3.953 MB / 0.5251 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4503, allocations: 0 / 0.5251 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006242/0.4565, allocations: 3.713 MB / 0.5288 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/0.4571, allocations: 295.4 kB / 0.529 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/0.4575, allocations: 19.94 kB / 0.5291 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/0.4584, allocations: 59.91 kB / 0.5291 GB, free: 7.328 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.4586, allocations: 55.92 kB / 0.5292 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/0.4587, allocations: 24 kB / 0.5292 GB, free: 7.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003214/0.4619, allocations: 1.762 MB / 0.5309 GB, free: 5.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.462, allocations: 0 / 0.5309 GB, free: 5.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003295/0.4653, allocations: 0.6249 MB / 0.5315 GB, free: 4.855 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.00677/0.472, allocations: 4.331 MB / 0.5358 GB, free: 500 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1858/0.6578, allocations: 3.412 MB / 0.5391 GB, free: 128.3 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.6579, allocations: 0 / 0.5391 GB, free: 128.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.659, allocations: 0.9402 MB / 0.54 GB, free: 127.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.6605, allocations: 263.6 kB / 0.5403 GB, free: 127.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03396/0.6945, allocations: 30.21 MB / 0.5698 GB, free: 99.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.6966, allocations: 2.178 MB / 0.5719 GB, free: 96.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002544/0.6991, allocations: 1.404 MB / 0.5733 GB, free: 95.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.7003, allocations: 1.046 MB / 0.5743 GB, free: 94.53 MB / 462.1 MB Notification: Performance of SimCode: time 6.52e-07/0.7003, allocations: 0 / 0.5743 GB, free: 94.53 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06925/0.7696, allocations: 41.6 MB / 0.6149 GB, free: 53.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.95/20.72, allocations: 14.02 kB / 0.6149 GB, free: 53.2 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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