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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001556/0.001556, allocations: 180.3 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001126/0.001126, allocations: 94.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.674e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09483/0.09489, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5211, allocations: 90.47 MB / 459.6 MB, free: 2.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5215, allocations: 84.98 kB / 459.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2608/0.7823, allocations: 57.71 MB / 0.5052 GB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7823, allocations: 0 / 0.5052 GB, free: 10.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001413/0.7825, allocations: 44 kB / 0.5053 GB, free: 10.44 MB / 394.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.01012/0.7926, allocations: 2.542 MB / 0.5078 GB, free: 7.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.7927, allocations: 15.97 kB / 0.5078 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/0.8086, allocations: 1.966 MB / 0.5097 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.8222, allocations: 3.29 MB / 0.5129 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.8226, allocations: 176.6 kB / 0.5131 GB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.8241, allocations: 231.9 kB / 0.5133 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01878/0.8429, allocations: 6.735 MB / 0.5199 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.8431, allocations: 47.53 kB / 0.5199 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008749/0.844, allocations: 123.9 kB / 0.52 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00172/0.8458, allocations: 0.715 MB / 0.5207 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.8626, allocations: 5.693 MB / 0.5263 GB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3216/1.184, allocations: 33.4 MB / 0.5589 GB, free: 78.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007885/1.192, allocations: 2.276 MB / 0.5611 GB, free: 77.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002451/1.195, allocations: 1.015 MB / 0.5621 GB, free: 77.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.195, allocations: 11.8 kB / 0.5621 GB, free: 77.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/1.195, allocations: 53.05 kB / 0.5622 GB, free: 77.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=98): time 4.959e-06/1.195, allocations: 1.5 kB / 0.5622 GB, free: 77.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.03388/1.229, allocations: 7.032 MB / 0.5691 GB, free: 75.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/1.229, allocations: 142.2 kB / 0.5692 GB, free: 75.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008271/1.237, allocations: 2.506 MB / 0.5716 GB, free: 75.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003278/1.238, allocations: 41.14 kB / 0.5717 GB, free: 75.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002402/1.24, allocations: 2.063 MB / 0.5737 GB, free: 74.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009393/1.241, allocations: 442.3 kB / 0.5741 GB, free: 74.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007092/1.242, allocations: 84.75 kB / 0.5742 GB, free: 74.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005666/1.242, allocations: 0.4931 MB / 0.5747 GB, free: 73.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.247, allocations: 1.355 MB / 0.576 GB, free: 73.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007233/1.255, allocations: 4.16 MB / 0.5801 GB, free: 69.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007351/1.262, allocations: 2.363 MB / 0.5824 GB, free: 69.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/1.262, allocations: 25.28 kB / 0.5824 GB, free: 69.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.0235/1.286, allocations: 5.903 MB / 0.5882 GB, free: 67.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.286, allocations: 46.53 kB / 0.5882 GB, free: 67.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002311/1.286, allocations: 105.3 kB / 0.5883 GB, free: 67.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005257/1.291, allocations: 0.8064 MB / 0.5891 GB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007666/1.299, allocations: 0.999 MB / 0.5901 GB, free: 67.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/1.31, allocations: 4.103 MB / 0.5941 GB, free: 64.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005484/1.316, allocations: 288.2 kB / 0.5943 GB, free: 64.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.317, allocations: 276.5 kB / 0.5946 GB, free: 64.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 527 * 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.00121/1.318, allocations: 446.5 kB / 0.595 GB, free: 64.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006432/1.319, allocations: 236.4 kB / 0.5953 GB, free: 64.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/1.325, allocations: 1.836 MB / 0.5971 GB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.404e-05/1.325, allocations: 14.64 kB / 0.5971 GB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.325, allocations: 3 kB / 0.5971 GB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/1.325, allocations: 11.78 kB / 0.5971 GB, free: 63.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.34, allocations: 4.801 MB / 0.6018 GB, free: 62.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/1.34, allocations: 0 / 0.6018 GB, free: 62.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/1.341, allocations: 138.4 kB / 0.6019 GB, free: 62.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003669/1.345, allocations: 0.6413 MB / 0.6025 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/1.345, allocations: 26.69 kB / 0.6026 GB, free: 61.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007197/1.352, allocations: 3.619 MB / 0.6061 GB, free: 59.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/1.352, allocations: 3.938 kB / 0.6061 GB, free: 59.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009349/1.362, allocations: 3.761 MB / 0.6098 GB, free: 58.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001548/1.363, allocations: 444.2 kB / 0.6102 GB, free: 58.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/1.364, allocations: 15.34 kB / 0.6102 GB, free: 58.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.366, allocations: 73.02 kB / 0.6103 GB, free: 58.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/1.366, allocations: 57.78 kB / 0.6103 GB, free: 58.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.366, allocations: 36.92 kB / 0.6104 GB, free: 58.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003888/1.37, allocations: 1.723 MB / 0.612 GB, free: 57.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.37, allocations: 0 / 0.612 GB, free: 57.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004974/1.375, allocations: 0.6502 MB / 0.6127 GB, free: 57.23 MB / 410.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 () * 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.0005415/1.376, allocations: 156 kB / 0.6128 GB, free: 57.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007474/1.383, allocations: 3.336 MB / 0.6161 GB, free: 54.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.383, allocations: 4 kB / 0.6161 GB, free: 54.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.385, allocations: 0.917 MB / 0.617 GB, free: 53.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/1.387, allocations: 238.4 kB / 0.6172 GB, free: 53.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.399, allocations: 4.713 MB / 0.6218 GB, free: 48.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003539/1.403, allocations: 2.25 MB / 0.624 GB, free: 47.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009997/1.404, allocations: 194.5 kB / 0.6242 GB, free: 46.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/1.404, allocations: 4 kB / 0.6242 GB, free: 46.84 MB / 410.7 MB Notification: Performance of Templates: time 0.085/1.489, allocations: 45.57 MB / 0.6687 GB, free: 4.637 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum --alarm=480 -emit_protected > 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