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.002737/0.002744, allocations: 183.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.995/4.995, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00213/0.00213, allocations: 93.45 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006097/0.0006099, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/0.5127, allocations: 47.58 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.02536/0.5382, allocations: 11.99 MB / 386.5 MB, free: 36.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.5541, allocations: 4.106 MB / 390.6 MB, free: 32.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003738/0.5579, allocations: 59.81 kB / 390.7 MB, free: 32.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.5611, allocations: 0.5405 MB / 391.2 MB, free: 32.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.5724, allocations: 1.94 MB / 393.2 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.5749, allocations: 399.3 kB / 393.6 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005264/0.5802, allocations: 1.453 MB / 395 MB, free: 28.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004145/0.5845, allocations: 1.318 MB / 396.3 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.5865, allocations: 0.6033 MB / 396.9 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.5891, allocations: 0.841 MB / 397.8 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008451/0.59, allocations: 76 kB / 397.9 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.5932, allocations: 0.7099 MB / 398.6 MB, free: 24.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.5955, allocations: 0.8727 MB / 399.4 MB, free: 23.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.5968, allocations: 0.4883 MB / 399.9 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006704/0.6036, allocations: 2.955 MB / 402.9 MB, free: 20.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.6037, allocations: 4 kB / 402.9 MB, free: 20.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.6037, allocations: 0 / 402.9 MB, free: 20.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001603/0.6039, allocations: 0 / 402.9 MB, free: 20.41 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.01069/0.6146, allocations: 2.5 MB / 405.4 MB, free: 17.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.413e-05/0.6147, allocations: 8.031 kB / 405.4 MB, free: 17.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.6323, allocations: 1.974 MB / 407.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006207/0.6386, allocations: 1.55 MB / 408.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.6389, allocations: 114.9 kB / 409 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001313/0.6403, allocations: 151.9 kB / 409.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.6623, allocations: 6.387 MB / 415.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.6625, allocations: 31.66 kB / 415.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009841/0.6635, allocations: 79.89 kB / 415.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00608/0.6697, allocations: 1.441 MB / 417.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.6929, allocations: 5.693 MB / 422.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07153/0.7645, allocations: 26.35 MB / 449.2 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.776, allocations: 2.269 MB / 451.4 MB, free: 2.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001706/0.7762, allocations: 11.98 kB / 451.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/0.7763, allocations: 47.12 kB / 451.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 7.144e-06/0.7763, allocations: 0 / 451.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.05984/0.8362, allocations: 8.873 MB / 460.4 MB, free: 9.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.8364, allocations: 144.4 kB / 460.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/0.8467, allocations: 2.941 MB / 463.4 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003599/0.8471, allocations: 41.7 kB / 463.5 MB, free: 5.941 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003348/0.8505, allocations: 2.065 MB / 465.5 MB, free: 3.848 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.8517, allocations: 438.6 kB / 466 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006601/0.8524, allocations: 88 kB / 466.1 MB, free: 3.328 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0006486/0.8531, allocations: 0.4888 MB / 466.5 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006147/0.8593, allocations: 1.387 MB / 467.9 MB, free: 1.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009832/0.8692, allocations: 4.202 MB / 472.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008883/0.8781, allocations: 2.375 MB / 474.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/0.8784, allocations: 32 kB / 474.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02856/0.907, allocations: 5.978 MB / 480.5 MB, free: 3.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.9072, allocations: 48 kB / 480.6 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002823/0.9075, allocations: 100 kB / 480.7 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006084/0.9136, allocations: 0.8154 MB / 481.5 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008202/0.9219, allocations: 0.9825 MB / 482.5 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.9366, allocations: 4.254 MB / 486.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007633/0.9443, allocations: 247.6 kB / 487 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/0.9458, allocations: 272 kB / 487.2 MB, free: 12.56 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.00584/0.9517, allocations: 1.368 MB / 488.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/0.9527, allocations: 244.9 kB / 488.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.963, allocations: 1.849 MB / 490.7 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-05/0.9631, allocations: 15.94 kB / 490.7 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/0.9631, allocations: 7.953 kB / 490.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-05/0.9632, allocations: 3.984 kB / 490.7 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/0.9873, allocations: 4.809 MB / 495.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.9874, allocations: 0 / 495.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001637/0.989, allocations: 131.8 kB / 495.6 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005327/0.9944, allocations: 0.6483 MB / 496.3 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003571/0.9948, allocations: 20 kB / 496.3 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/1.008, allocations: 3.781 MB / 0.4884 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/1.008, allocations: 8.094 kB / 0.4884 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.024, allocations: 3.788 MB / 0.4921 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/1.026, allocations: 442 kB / 0.4925 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.027, allocations: 27.92 kB / 0.4925 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/1.03, allocations: 55.92 kB / 0.4926 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006819/1.031, allocations: 55.98 kB / 0.4926 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.031, allocations: 31.98 kB / 0.4927 GB, free: 10.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.007442/1.039, allocations: 1.844 MB / 0.4945 GB, free: 9.109 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.039, allocations: 0 / 0.4945 GB, free: 9.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008742/1.047, allocations: 0.664 MB / 0.4951 GB, free: 8.445 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.0009844/1.049, allocations: 171 kB / 0.4953 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01328/1.062, allocations: 3.386 MB / 0.4986 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.062, allocations: 0 / 0.4986 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003448/1.065, allocations: 0.9385 MB / 0.4995 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/1.069, allocations: 237.3 kB / 0.4997 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4624/1.531, allocations: 6.69 MB / 0.5063 GB, free: 120.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00694/1.538, allocations: 2.25 MB / 0.5085 GB, free: 119.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/1.54, allocations: 201.4 kB / 0.5086 GB, free: 119.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.254e-06/1.54, allocations: 0 / 0.5086 GB, free: 119.4 MB / 394.7 MB Notification: Performance of Templates: time 0.1413/1.681, allocations: 45.85 MB / 0.5534 GB, free: 81.84 MB / 394.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