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.001595/0.001595, allocations: 99.95 kB / 17.58 MB, free: 5.418 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.00172/0.00172, allocations: 192 kB / 18.51 MB, free: 4.508 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.405/1.405, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001288/0.001288, allocations: 48.16 kB / 280.7 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09364, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008767/0.1025, allocations: 7.129 MB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006176/0.1087, allocations: 3.159 MB / 337.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.1099, allocations: 31.94 kB / 337.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.1121, allocations: 0.7781 MB / 338.5 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.1159, allocations: 1.323 MB / 339.8 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1173, allocations: 498.9 kB / 340.3 MB, free: 7.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003693/0.1211, allocations: 2.54 MB / 342.8 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.1232, allocations: 1.165 MB / 344 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.1248, allocations: 0.7588 MB / 344.8 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001858/0.1267, allocations: 1.109 MB / 345.9 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005525/0.1272, allocations: 139.9 kB / 346 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.1292, allocations: 0.8736 MB / 346.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.1305, allocations: 0.9972 MB / 347.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.132, allocations: 1.203 MB / 349.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004065/0.1361, allocations: 3.801 MB / 352.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1361, allocations: 0 / 352.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1361, allocations: 0 / 352.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.147e-05/0.1362, allocations: 0 / 352.9 MB, free: 10.77 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.005849/0.142, allocations: 2.913 MB / 355.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.1421, allocations: 11.97 kB / 355.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006069/0.1427, allocations: 450 kB / 356.2 MB, free: 7.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00629/0.149, allocations: 1.651 MB / 357.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/0.1524, allocations: 1.769 MB / 359.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.412e-05/0.1526, allocations: 114.9 kB / 359.8 MB, free: 3.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003602/0.1529, allocations: 151.9 kB / 359.9 MB, free: 3.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008678/0.1616, allocations: 6.363 MB / 366.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.892e-05/0.1617, allocations: 35.64 kB / 366.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002255/0.1619, allocations: 83.89 kB / 366.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002422/0.1644, allocations: 1.425 MB / 367.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009601/0.174, allocations: 5.685 MB / 373.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1806/0.3546, allocations: 26.3 MB / 399.8 MB, free: 31.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004445/0.3591, allocations: 2.26 MB / 402.1 MB, free: 30.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.3604, allocations: 1.021 MB / 403.1 MB, free: 29.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.556e-05/0.3605, allocations: 15.91 kB / 403.1 MB, free: 29.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.3606, allocations: 42.88 kB / 403.1 MB, free: 29.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.857e-06/0.3606, allocations: 0 / 403.1 MB, free: 29.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01928/0.3799, allocations: 8.655 MB / 411.8 MB, free: 25.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.3799, allocations: 145.6 kB / 411.9 MB, free: 25.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/0.3827, allocations: 2.835 MB / 414.8 MB, free: 24.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/0.3828, allocations: 41 kB / 414.8 MB, free: 24.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008537/0.3837, allocations: 2.084 MB / 416.9 MB, free: 22.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.384, allocations: 433.8 kB / 417.3 MB, free: 21.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008099/0.3848, allocations: 0.8786 MB / 418.2 MB, free: 21.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.3848, allocations: 301.1 kB / 418.5 MB, free: 21.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.3863, allocations: 1.413 MB / 419.9 MB, free: 19.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/0.389, allocations: 4.234 MB / 424.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/0.3938, allocations: 6.119 MB / 430.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.262e-05/0.3938, allocations: 32 kB / 430.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008831/0.4027, allocations: 6.101 MB / 436.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.4027, allocations: 48 kB / 436.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.151e-05/0.4028, allocations: 100 kB / 436.5 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/0.4049, allocations: 0.7971 MB / 437.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/0.4077, allocations: 0.9825 MB / 438.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005796/0.4135, allocations: 4.479 MB / 442.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/0.4171, allocations: 243.6 kB / 443 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007757/0.4179, allocations: 277.2 kB / 443.3 MB, free: 9.578 MB / 334.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.002794/0.4207, allocations: 1.372 MB / 444.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/0.4214, allocations: 236.9 kB / 444.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/0.4258, allocations: 1.849 MB / 446.8 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.4259, allocations: 15.98 kB / 446.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.4259, allocations: 4 kB / 446.8 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.4259, allocations: 3.984 kB / 446.8 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.4366, allocations: 4.804 MB / 451.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.4367, allocations: 4 kB / 451.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.4373, allocations: 131.8 kB / 451.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/0.4393, allocations: 0.6487 MB / 452.4 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.4394, allocations: 23.94 kB / 452.4 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/0.4444, allocations: 3.952 MB / 456.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4444, allocations: 0 / 456.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/0.4502, allocations: 3.694 MB / 460 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008951/0.4511, allocations: 441.8 kB / 460.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004114/0.4515, allocations: 16 kB / 460.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.4526, allocations: 59.91 kB / 460.5 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.4527, allocations: 59.98 kB / 460.6 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.4528, allocations: 28 kB / 460.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002773/0.4556, allocations: 1.766 MB / 462.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4556, allocations: 0 / 462.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004109/0.4597, allocations: 0.6469 MB / 463 MB, free: 5.562 MB / 350.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.006478/0.4662, allocations: 4.327 MB / 467.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006781/0.473, allocations: 3.606 MB / 471 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.4731, allocations: 4.25 kB / 471 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.4745, allocations: 0.9392 MB / 471.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.4769, allocations: 261.3 kB / 472.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04964/0.5266, allocations: 32.52 MB / 0.4929 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.529, allocations: 2.192 MB / 0.495 GB, free: 4.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003062/0.5321, allocations: 1.396 MB / 0.4964 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/0.5335, allocations: 1.054 MB / 0.4974 GB, free: 2.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5335, allocations: 4 kB / 0.4974 GB, free: 2.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2487/0.7823, allocations: 44.64 MB / 0.541 GB, free: 152.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/11.01, allocations: 2.562 kB / 0.541 GB, free: 152.6 MB / 430.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