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.0008823/0.0008822, allocations: 97.31 kB / 17.3 MB, free: 6.117 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.000927/0.0009269, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.173/1.173, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004169/0.0004169, allocations: 15.94 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07448/0.07491, allocations: 47.57 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01119/0.08613, allocations: 13.52 MB / 342.6 MB, free: 6.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006619/0.09278, allocations: 4.301 MB / 346.9 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007312/0.09353, allocations: 59.81 kB / 346.9 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.09409, allocations: 274.7 kB / 347.2 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.09621, allocations: 1.223 MB / 348.4 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.09698, allocations: 467.6 kB / 348.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002946/0.09994, allocations: 3.456 MB / 352.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.1016, allocations: 1.414 MB / 353.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007058/0.1023, allocations: 0.6261 MB / 354.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.1035, allocations: 1.156 MB / 355.5 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1036, allocations: 80 kB / 355.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.1049, allocations: 0.8851 MB / 356.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007156/0.1056, allocations: 0.9698 MB / 357.5 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008355/0.1065, allocations: 1.177 MB / 358.6 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.1094, allocations: 3.702 MB / 362.3 MB, free: 2.215 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1094, allocations: 0 / 362.3 MB, free: 2.215 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1094, allocations: 3.938 kB / 362.4 MB, free: 2.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.375e-05/0.1095, allocations: 0 / 362.4 MB, free: 2.211 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.003686/0.1132, allocations: 2.426 MB / 364.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1132, allocations: 12.03 kB / 364.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00044/0.1137, allocations: 450 kB / 365.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005845/0.1195, allocations: 1.698 MB / 366.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.1223, allocations: 1.761 MB / 368.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/0.1224, allocations: 126.8 kB / 368.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.1227, allocations: 147.9 kB / 369 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007938/0.1307, allocations: 6.374 MB / 375.3 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.87e-05/0.1307, allocations: 31.66 kB / 375.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.131, allocations: 79.89 kB / 375.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.1333, allocations: 1.441 MB / 376.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1579/0.2912, allocations: 5.68 MB / 382.6 MB, free: 48.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/0.3144, allocations: 26.29 MB / 408.9 MB, free: 29.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/0.3179, allocations: 2.258 MB / 411.1 MB, free: 28.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.3189, allocations: 1.018 MB / 412.1 MB, free: 27.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.319, allocations: 14.52 kB / 412.1 MB, free: 27.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.319, allocations: 52.84 kB / 412.2 MB, free: 27.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.537e-06/0.319, allocations: 0 / 412.2 MB, free: 27.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01841/0.3374, allocations: 8.613 MB / 420.8 MB, free: 20.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.3375, allocations: 140.5 kB / 420.9 MB, free: 20.26 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003724/0.3412, allocations: 2.844 MB / 423.8 MB, free: 17.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.3414, allocations: 41.7 kB / 423.8 MB, free: 17.36 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008735/0.3423, allocations: 2.075 MB / 425.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.3426, allocations: 444.2 kB / 426.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/0.3429, allocations: 367.3 kB / 426.7 MB, free: 14.49 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.032e-05/0.3429, allocations: 313.1 kB / 427 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.3445, allocations: 1.406 MB / 428.4 MB, free: 12.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.3469, allocations: 4.226 MB / 432.6 MB, free: 7.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004483/0.3514, allocations: 6.127 MB / 438.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.884e-05/0.3514, allocations: 28 kB / 438.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.009718/0.3611, allocations: 6.088 MB / 444.9 MB, free: 9.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.479e-05/0.3612, allocations: 51.94 kB / 444.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.23e-05/0.3613, allocations: 102 kB / 445 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002207/0.3635, allocations: 0.8001 MB / 445.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.3661, allocations: 0.9825 MB / 446.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/0.3714, allocations: 4.156 MB / 451 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/0.3738, allocations: 243.5 kB / 451.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/0.3742, allocations: 285 kB / 451.5 MB, free: 2.707 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.00176/0.3759, allocations: 1.373 MB / 452.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.3762, allocations: 232.9 kB / 453.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.38, allocations: 1.85 MB / 454.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/0.38, allocations: 12 kB / 454.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.38, allocations: 4 kB / 454.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.38, allocations: 3.984 kB / 455 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007839/0.3879, allocations: 4.813 MB / 459.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.3879, allocations: 0 / 459.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.3885, allocations: 140.5 kB / 459.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/0.3905, allocations: 0.6487 MB / 460.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.3906, allocations: 18.66 kB / 460.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004553/0.3951, allocations: 3.703 MB / 464.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3951, allocations: 8.016 kB / 464.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005569/0.4007, allocations: 3.684 MB / 468 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008221/0.4015, allocations: 445.8 kB / 468.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/0.4019, allocations: 12 kB / 468.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.4029, allocations: 71.05 kB / 468.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.4031, allocations: 52.56 kB / 468.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.4032, allocations: 35.98 kB / 468.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002892/0.4061, allocations: 1.766 MB / 470.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4061, allocations: 0 / 470.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0033/0.4094, allocations: 0.6457 MB / 471 MB, free: 14.93 MB / 366.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.006102/0.4155, allocations: 4.307 MB / 475.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005254/0.4208, allocations: 3.398 MB / 478.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4208, allocations: 0 / 478.7 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.4219, allocations: 0.944 MB / 479.6 MB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.424, allocations: 249.6 kB / 479.9 MB, free: 6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04514/0.4691, allocations: 33.64 MB / 0.5015 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002884/0.4721, allocations: 2.193 MB / 0.5036 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00326/0.4754, allocations: 1.403 MB / 0.505 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/0.4767, allocations: 1.054 MB / 0.506 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4767, allocations: 4 kB / 0.506 GB, free: 10.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2135/0.6902, allocations: 43.23 MB / 0.5482 GB, free: 144.7 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/0.6904, allocations: 237.6 kB / 0.5485 GB, free: 144.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.399, allocations: 0 / 0.5485 GB, free: 144.4 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches