Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009694/0.0009695, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000762/0.000762, allocations: 90.34 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1811, allocations: 47.58 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009541/0.1907, allocations: 12.65 MB / 387.8 MB, free: 35.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006777/0.1975, allocations: 4.017 MB / 391.9 MB, free: 31.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.1995, allocations: 55.88 kB / 391.9 MB, free: 31.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.2011, allocations: 0.5987 MB / 392.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004455/0.2055, allocations: 2.164 MB / 394.7 MB, free: 29.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.2066, allocations: 455.2 kB / 395.1 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002581/0.2092, allocations: 2.75 MB / 397.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.2109, allocations: 1.38 MB / 399.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.2118, allocations: 0.7043 MB / 400 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.213, allocations: 1.145 MB / 401.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003231/0.2134, allocations: 80 kB / 401.2 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.2146, allocations: 0.8696 MB / 402 MB, free: 21.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007104/0.2154, allocations: 0.9427 MB / 403 MB, free: 20.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009586/0.2163, allocations: 1.1 MB / 404.1 MB, free: 19.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.2184, allocations: 2.963 MB / 407.1 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2184, allocations: 0 / 407.1 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2185, allocations: 7.938 kB / 407.1 MB, free: 16.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.345e-05/0.2186, allocations: 0 / 407.1 MB, free: 16.71 MB / 298.7 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.003574/0.2221, allocations: 2.414 MB / 409.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2222, allocations: 12.03 kB / 409.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003868/0.2226, allocations: 450 kB / 409.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.2277, allocations: 1.705 MB / 411.6 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.2299, allocations: 1.769 MB / 413.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.23, allocations: 114.9 kB / 413.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.2303, allocations: 155.8 kB / 413.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00732/0.2376, allocations: 6.355 MB / 420 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-05/0.2377, allocations: 35.66 kB / 420.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002197/0.2379, allocations: 79.89 kB / 420.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00191/0.2398, allocations: 1.441 MB / 421.6 MB, free: 1.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008335/0.2482, allocations: 5.646 MB / 427.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02559/0.2738, allocations: 26.31 MB / 453.5 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/0.2779, allocations: 2.254 MB / 455.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.2791, allocations: 1.023 MB / 456.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.2792, allocations: 7.984 kB / 456.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2792, allocations: 54.23 kB / 456.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 3.767e-06/0.2792, allocations: 4 kB / 456.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.01982/0.2991, allocations: 8.589 MB / 465.5 MB, free: 4.516 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.2992, allocations: 148.4 kB / 465.6 MB, free: 4.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003878/0.3031, allocations: 2.828 MB / 468.4 MB, free: 1.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.3032, allocations: 41.7 kB / 468.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.3046, allocations: 2.082 MB / 470.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/0.3051, allocations: 430.7 kB / 471 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.3053, allocations: 88 kB / 471.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000293/0.3056, allocations: 499.6 kB / 471.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.3077, allocations: 1.394 MB / 472.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/0.3115, allocations: 4.218 MB / 477.2 MB, free: 7.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006225/0.3177, allocations: 6.102 MB / 483.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-05/0.3178, allocations: 28 kB / 483.3 MB, free: 15.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01004/0.3279, allocations: 6.049 MB / 489.3 MB, free: 9.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.328, allocations: 48 kB / 489.4 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/0.3281, allocations: 100 kB / 489.5 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/0.3303, allocations: 0.8047 MB / 490.3 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/0.3329, allocations: 0.9863 MB / 491.3 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005094/0.338, allocations: 4.151 MB / 495.4 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.3407, allocations: 247.5 kB / 495.7 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004688/0.3412, allocations: 279.9 kB / 495.9 MB, free: 2.93 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002027/0.3432, allocations: 1.371 MB / 497.3 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.3436, allocations: 233 kB / 497.5 MB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003746/0.3474, allocations: 1.842 MB / 499.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.3474, allocations: 16 kB / 499.4 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3474, allocations: 0 / 499.4 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.3474, allocations: 7.984 kB / 499.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008275/0.3557, allocations: 4.809 MB / 0.4924 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3557, allocations: 0 / 0.4924 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.3563, allocations: 139.8 kB / 0.4925 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.3583, allocations: 0.6483 MB / 0.4932 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.3584, allocations: 15.94 kB / 0.4932 GB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004475/0.3629, allocations: 3.694 MB / 0.4968 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3629, allocations: 7.875 kB / 0.4968 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.3683, allocations: 3.676 MB / 0.5004 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000828/0.3691, allocations: 445.7 kB / 0.5008 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/0.3695, allocations: 19.98 kB / 0.5008 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009475/0.3705, allocations: 63.91 kB / 0.5009 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/0.3707, allocations: 55.8 kB / 0.5009 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.3708, allocations: 35.98 kB / 0.501 GB, free: 1.562 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.1476/0.5184, allocations: 1.751 MB / 0.5027 GB, free: 121.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5184, allocations: 1.688 kB / 0.5027 GB, free: 121.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003484/0.5219, allocations: 0.6429 MB / 0.5033 GB, free: 121.4 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00584/0.5278, allocations: 4.308 MB / 0.5075 GB, free: 120.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004805/0.5326, allocations: 3.376 MB / 0.5108 GB, free: 119.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.5326, allocations: 0 / 0.5108 GB, free: 119.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.5337, allocations: 0.9347 MB / 0.5117 GB, free: 118.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.5357, allocations: 255.1 kB / 0.512 GB, free: 118.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/0.5635, allocations: 21.49 MB / 0.533 GB, free: 100.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/0.5652, allocations: 2.193 MB / 0.5351 GB, free: 98.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.5663, allocations: 1.089 MB / 0.5362 GB, free: 97.09 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5664, allocations: 0 / 0.5362 GB, free: 97.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.383/5.95, allocations: 56.63 MB / 0.5915 GB, free: 40.39 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches