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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 106.6 kB / 17.73 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 191 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 52.3 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.119, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2694/0.3884, allocations: 7.118 MB / 381.8 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007281/0.3958, allocations: 3.154 MB / 384.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.3973, allocations: 39.69 kB / 385 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.3994, allocations: 0.7807 MB / 385.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003763/0.4031, allocations: 1.312 MB / 387.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.4045, allocations: 0.5004 MB / 387.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003991/0.4085, allocations: 2.54 MB / 390.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/0.4101, allocations: 1.16 MB / 391.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.4114, allocations: 0.7722 MB / 392 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.413, allocations: 1.108 MB / 393.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003289/0.4134, allocations: 134.4 kB / 393.3 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.4154, allocations: 0.8739 MB / 394.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.4167, allocations: 1.002 MB / 395.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.4178, allocations: 1.202 MB / 396.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.4225, allocations: 3.98 MB / 400.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4225, allocations: 1.312 kB / 400.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4225, allocations: 0 / 400.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.819e-05/0.4226, allocations: 3.938 kB / 400.3 MB, free: 1.484 MB / 318.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.005804/0.4284, allocations: 2.909 MB / 403.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4284, allocations: 10.06 kB / 403.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005667/0.429, allocations: 452.7 kB / 403.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006061/0.4351, allocations: 1.656 MB / 405.3 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.4385, allocations: 1.768 MB / 407.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.4386, allocations: 129.2 kB / 407.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.439, allocations: 155.8 kB / 407.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/0.4493, allocations: 6.361 MB / 413.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.327e-05/0.4494, allocations: 31.66 kB / 413.8 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.4497, allocations: 83.89 kB / 413.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002371/0.4521, allocations: 1.441 MB / 415.3 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009972/0.4621, allocations: 5.666 MB / 421 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03457/0.4967, allocations: 26.21 MB / 447.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005422/0.5022, allocations: 2.273 MB / 449.5 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.504, allocations: 1.014 MB / 450.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-05/0.5041, allocations: 15.98 kB / 450.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.897e-05/0.5042, allocations: 46.5 kB / 450.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 8.095e-06/0.5042, allocations: 0 / 450.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.0257/0.5299, allocations: 8.646 MB / 459.2 MB, free: 9.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.426e-05/0.5301, allocations: 136.5 kB / 459.3 MB, free: 9.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005724/0.5358, allocations: 2.848 MB / 462.2 MB, free: 6.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.536, allocations: 41.7 kB / 462.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001965/0.538, allocations: 2.079 MB / 464.3 MB, free: 4.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/0.5387, allocations: 442.6 kB / 464.7 MB, free: 3.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001701/0.5404, allocations: 0.8806 MB / 465.6 MB, free: 2.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5406, allocations: 301.3 kB / 465.9 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/0.5432, allocations: 1.414 MB / 467.3 MB, free: 1.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/0.5481, allocations: 4.238 MB / 471.5 MB, free: 11.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00751/0.5556, allocations: 6.112 MB / 477.7 MB, free: 4.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/0.5558, allocations: 28 kB / 477.7 MB, free: 4.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01296/0.5687, allocations: 6.092 MB / 483.8 MB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.5689, allocations: 49 kB / 483.8 MB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/0.5691, allocations: 100 kB / 483.9 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.5715, allocations: 0.8006 MB / 484.7 MB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.5748, allocations: 0.9833 MB / 485.7 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/0.5812, allocations: 4.481 MB / 490.2 MB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004015/0.5852, allocations: 251.4 kB / 490.4 MB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007459/0.586, allocations: 279.9 kB / 490.7 MB, free: 6.867 MB / 414.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.003292/0.5893, allocations: 1.364 MB / 492.1 MB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006958/0.59, allocations: 233 kB / 492.3 MB, free: 5.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/0.5941, allocations: 1.853 MB / 494.1 MB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/0.5942, allocations: 16 kB / 494.2 MB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.5942, allocations: 7.875 kB / 494.2 MB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5942, allocations: 7.984 kB / 494.2 MB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0099/0.6041, allocations: 4.797 MB / 499 MB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.6042, allocations: 4 kB / 499 MB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/0.6048, allocations: 131.8 kB / 499.1 MB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/0.6068, allocations: 0.6444 MB / 499.7 MB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.89e-05/0.6069, allocations: 20 kB / 499.8 MB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004972/0.6119, allocations: 3.952 MB / 0.4919 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6119, allocations: 0 / 0.4919 GB, free: 9.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005814/0.6177, allocations: 3.693 MB / 0.4955 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.6189, allocations: 445.7 kB / 0.4959 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/0.6194, allocations: 12 kB / 0.496 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.6205, allocations: 75.91 kB / 0.496 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.6207, allocations: 55.92 kB / 0.4961 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-05/0.6208, allocations: 27.98 kB / 0.4961 GB, free: 5.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003958/0.6247, allocations: 1.77 MB / 0.4978 GB, free: 3.453 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.973e-06/0.6248, allocations: 0 / 0.4978 GB, free: 3.453 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004665/0.6294, allocations: 0.6523 MB / 0.4985 GB, free: 2.801 MB / 430.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.006769/0.6362, allocations: 4.299 MB / 0.5027 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006223/0.6425, allocations: 3.406 MB / 0.506 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6425, allocations: 0 / 0.506 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.6438, allocations: 0.9394 MB / 0.5069 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.6461, allocations: 263.2 kB / 0.5072 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05544/0.7016, allocations: 30.18 MB / 0.5366 GB, free: 7.82 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003129/0.7047, allocations: 2.192 MB / 0.5388 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003195/0.708, allocations: 1.396 MB / 0.5401 GB, free: 4.191 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.7096, allocations: 1.058 MB / 0.5412 GB, free: 3.133 MB / 478.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7096, allocations: 0 / 0.5412 GB, free: 3.133 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.015/1.725, allocations: 42.55 MB / 0.5827 GB, free: 136.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.28/19, allocations: 4.062 kB / 0.5827 GB, free: 136.7 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches