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.001275/0.001275, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001414/0.001414, allocations: 190 kB / 18.07 MB, free: 5.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.324/1.324, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001087/0.001087, allocations: 51.92 kB / 280.1 MB, free: 3.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08231/0.08341, allocations: 46.62 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01305/0.0965, allocations: 14.1 MB / 340.8 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007754/0.1043, allocations: 4.359 MB / 345.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.1058, allocations: 55.88 kB / 345.2 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001501/0.1073, allocations: 0.7555 MB / 346 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.1095, allocations: 1.219 MB / 347.2 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/0.1104, allocations: 467.2 kB / 347.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.1133, allocations: 3.448 MB / 351.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.1144, allocations: 1.144 MB / 352.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.1151, allocations: 0.6729 MB / 352.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.1162, allocations: 1.199 MB / 354.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.1164, allocations: 96 kB / 354.2 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.1177, allocations: 0.893 MB / 355.1 MB, free: 8.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007431/0.1185, allocations: 0.9815 MB / 356.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008491/0.1193, allocations: 1.18 MB / 357.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.1222, allocations: 3.789 MB / 361 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1222, allocations: 0 / 361 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1222, allocations: 0 / 361 MB, free: 2.293 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.851e-05/0.1223, allocations: 0 / 361 MB, free: 2.293 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.003951/0.1262, allocations: 2.902 MB / 363.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1263, allocations: 8.031 kB / 364 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004179/0.1267, allocations: 461.9 kB / 364.4 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.1321, allocations: 1.658 MB / 366.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.1345, allocations: 1.761 MB / 367.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/0.1346, allocations: 118.9 kB / 367.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/0.1349, allocations: 151.9 kB / 368.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007344/0.1422, allocations: 6.359 MB / 374.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.1423, allocations: 35.75 kB / 374.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.1425, allocations: 75.89 kB / 374.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002102/0.1446, allocations: 1.445 MB / 376 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1464/0.2911, allocations: 5.66 MB / 381.7 MB, free: 50.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02904/0.3202, allocations: 26.32 MB / 408 MB, free: 30.54 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00388/0.3241, allocations: 2.263 MB / 410.2 MB, free: 29.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.3252, allocations: 1.022 MB / 411.3 MB, free: 28.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.3253, allocations: 9.984 kB / 411.3 MB, free: 28.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3254, allocations: 54.45 kB / 411.3 MB, free: 28.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 4.007e-06/0.3254, allocations: 0 / 411.3 MB, free: 28.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.0185/0.3439, allocations: 8.634 MB / 420 MB, free: 20.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3439, allocations: 136.5 kB / 420.1 MB, free: 20.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003069/0.347, allocations: 2.844 MB / 422.9 MB, free: 17.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.3472, allocations: 41.14 kB / 423 MB, free: 17.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008664/0.3481, allocations: 2.082 MB / 425.1 MB, free: 15.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003484/0.3484, allocations: 444.1 kB / 425.5 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008168/0.3493, allocations: 0.8768 MB / 426.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/0.3493, allocations: 301.1 kB / 426.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.351, allocations: 1.406 MB / 428.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002582/0.3536, allocations: 4.242 MB / 432.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/0.3584, allocations: 6.123 MB / 438.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.386e-05/0.3585, allocations: 31.94 kB / 438.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01069/0.3692, allocations: 6.084 MB / 444.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.306e-05/0.3693, allocations: 52.2 kB / 444.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/0.3694, allocations: 104 kB / 444.7 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/0.3717, allocations: 0.7916 MB / 445.5 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/0.3746, allocations: 0.9863 MB / 446.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/0.3799, allocations: 4.154 MB / 450.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/0.383, allocations: 247.6 kB / 450.9 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004938/0.3835, allocations: 276.9 kB / 451.1 MB, free: 2.75 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.001903/0.3855, allocations: 1.36 MB / 452.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.3859, allocations: 240.9 kB / 452.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/0.3894, allocations: 1.86 MB / 454.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.931e-05/0.3895, allocations: 19.28 kB / 454.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3895, allocations: 0 / 454.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3895, allocations: 7.984 kB / 454.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008078/0.3976, allocations: 4.81 MB / 459.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.3976, allocations: 4 kB / 459.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.3982, allocations: 128.2 kB / 459.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.4001, allocations: 0.656 MB / 460.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/0.4002, allocations: 15.91 kB / 460.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004479/0.4047, allocations: 3.704 MB / 463.9 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4047, allocations: 3.938 kB / 463.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005467/0.4102, allocations: 3.684 MB / 467.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009113/0.4111, allocations: 445.8 kB / 468.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004088/0.4115, allocations: 12 kB / 468.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009987/0.4126, allocations: 67.84 kB / 468.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.4127, allocations: 53.48 kB / 468.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.692e-05/0.4128, allocations: 36.06 kB / 468.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002933/0.4158, allocations: 1.77 MB / 470 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4158, allocations: 0 / 470 MB, free: 15.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003141/0.4189, allocations: 0.6426 MB / 470.6 MB, free: 14.97 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.005939/0.4249, allocations: 4.309 MB / 475 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005556/0.4304, allocations: 3.397 MB / 478.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.4305, allocations: 192 / 478.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.4317, allocations: 0.9391 MB / 479.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.4338, allocations: 243.7 kB / 479.5 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04947/0.4833, allocations: 33.56 MB / 0.5011 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/0.486, allocations: 2.2 MB / 0.5032 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003143/0.4891, allocations: 1.396 MB / 0.5046 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.4905, allocations: 1.055 MB / 0.5056 GB, free: 10.78 MB / 414.1 MB Notification: Performance of SimCode: time 1.223e-06/0.4905, allocations: 0 / 0.5056 GB, free: 10.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2487/0.7393, allocations: 43.68 MB / 0.5483 GB, free: 146.1 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.7395, allocations: 230.4 kB / 0.5485 GB, free: 145.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/3.624, allocations: 0 / 0.5485 GB, free: 145.8 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