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.00114/0.00114, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001257/0.001257, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008728/0.3205, allocations: 7.094 MB / 415.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006594/0.3271, allocations: 3.158 MB / 419 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.3281, allocations: 31.94 kB / 419 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.3304, allocations: 0.7859 MB / 419.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003064/0.3335, allocations: 1.288 MB / 421.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.3351, allocations: 491 kB / 421.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003711/0.3388, allocations: 2.563 MB / 424.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.3405, allocations: 1.157 MB / 425.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.3423, allocations: 0.7472 MB / 426.1 MB, free: 132 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.344, allocations: 1.105 MB / 427.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008218/0.3448, allocations: 132 kB / 427.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.3467, allocations: 0.8619 MB / 428.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3478, allocations: 0.9855 MB / 429.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002044/0.3499, allocations: 1.18 MB / 430.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005041/0.3549, allocations: 3.933 MB / 434.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.355, allocations: 0 / 434.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.355, allocations: 0 / 434.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001335/0.3551, allocations: 0 / 434.3 MB, free: 7.906 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.006758/0.3619, allocations: 2.875 MB / 437.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3619, allocations: 12.03 kB / 437.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009669/0.3629, allocations: 446 kB / 437.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006354/0.3693, allocations: 1.655 MB / 439.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/0.3726, allocations: 1.534 MB / 440.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.3727, allocations: 114.9 kB / 440.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/0.3733, allocations: 151.9 kB / 441 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.3839, allocations: 6.363 MB / 447.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.683e-05/0.384, allocations: 31.66 kB / 447.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003988/0.3844, allocations: 87.89 kB / 447.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002654/0.3871, allocations: 1.429 MB / 448.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.3977, allocations: 5.674 MB / 454.6 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03279/0.4305, allocations: 26.21 MB / 480.8 MB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004948/0.4355, allocations: 2.258 MB / 483.1 MB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.4368, allocations: 1.018 MB / 484.1 MB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.4369, allocations: 15.98 kB / 484.1 MB, free: 4.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.4369, allocations: 46.5 kB / 484.2 MB, free: 4.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.707e-06/0.4369, allocations: 0 / 484.2 MB, free: 4.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02286/0.4598, allocations: 8.598 MB / 492.8 MB, free: 11.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/0.4599, allocations: 136.5 kB / 492.9 MB, free: 11.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004862/0.4648, allocations: 2.815 MB / 495.7 MB, free: 8.613 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.465, allocations: 41.7 kB / 495.7 MB, free: 8.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002102/0.4671, allocations: 2.071 MB / 497.8 MB, free: 6.465 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006141/0.4677, allocations: 438.6 kB / 498.2 MB, free: 6.031 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001744/0.4695, allocations: 0.8767 MB / 499.1 MB, free: 5.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.4698, allocations: 309.1 kB / 499.4 MB, free: 4.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.472, allocations: 1.406 MB / 0.4891 GB, free: 3.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004869/0.4769, allocations: 4.238 MB / 0.4932 GB, free: 13.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007595/0.4846, allocations: 6.117 MB / 0.4992 GB, free: 6.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.581e-05/0.4847, allocations: 32 kB / 0.4992 GB, free: 6.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01204/0.4968, allocations: 6.091 MB / 0.5052 GB, free: 96 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.4971, allocations: 51.98 kB / 0.5052 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003909/0.4975, allocations: 104 kB / 0.5053 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.5, allocations: 0.7999 MB / 0.5061 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/0.5033, allocations: 0.9904 MB / 0.5071 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006126/0.5094, allocations: 4.465 MB / 0.5114 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00347/0.5129, allocations: 243.6 kB / 0.5117 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007514/0.5137, allocations: 280 kB / 0.5119 GB, free: 9.031 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.003045/0.5167, allocations: 1.375 MB / 0.5133 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005941/0.5174, allocations: 229 kB / 0.5135 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.522, allocations: 1.845 MB / 0.5153 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-05/0.5221, allocations: 15.94 kB / 0.5153 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.5221, allocations: 4 kB / 0.5153 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.5221, allocations: 7.984 kB / 0.5153 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/0.5327, allocations: 4.786 MB / 0.52 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.5327, allocations: 8.062 kB / 0.52 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006304/0.5334, allocations: 131.8 kB / 0.5201 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.5356, allocations: 0.6443 MB / 0.5208 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.5357, allocations: 20 kB / 0.5208 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/0.5408, allocations: 3.952 MB / 0.5246 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5408, allocations: 4.062 kB / 0.5246 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006559/0.5474, allocations: 3.689 MB / 0.5282 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007117/0.5481, allocations: 290 kB / 0.5285 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004856/0.5486, allocations: 15.94 kB / 0.5285 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5497, allocations: 63.91 kB / 0.5286 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.5499, allocations: 55.92 kB / 0.5287 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.55, allocations: 31.98 kB / 0.5287 GB, free: 7.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003795/0.5539, allocations: 1.762 MB / 0.5304 GB, free: 5.793 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5539, allocations: 3.938 kB / 0.5304 GB, free: 5.789 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00437/0.5583, allocations: 0.625 MB / 0.531 GB, free: 5.164 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.006873/0.5652, allocations: 4.31 MB / 0.5352 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.269/0.8342, allocations: 3.406 MB / 0.5386 GB, free: 128.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.8342, allocations: 1.625 kB / 0.5386 GB, free: 128.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.8354, allocations: 0.9326 MB / 0.5395 GB, free: 128.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.8377, allocations: 251 kB / 0.5397 GB, free: 128.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0367/0.8744, allocations: 30.1 MB / 0.5691 GB, free: 99.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.8765, allocations: 2.185 MB / 0.5712 GB, free: 97.55 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002609/0.8791, allocations: 1.4 MB / 0.5726 GB, free: 96.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/0.8804, allocations: 1.05 MB / 0.5736 GB, free: 95.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.8804, allocations: 0 / 0.5736 GB, free: 95.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7035/1.584, allocations: 42.33 MB / 0.615 GB, free: 53.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.3/20.88, allocations: 12 kB / 0.615 GB, free: 53.03 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.0.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