Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002604/0.002611, allocations: 181.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.442/3.442, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001858/0.001858, allocations: 96.42 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006721/0.0006724, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5608/0.5615, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0855/0.6471, allocations: 43.46 MB / 418 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04711/0.6943, allocations: 10.81 MB / 428.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01618/0.7106, allocations: 219.4 kB / 429 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01345/0.7241, allocations: 2.15 MB / 431.2 MB, free: 8.078 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0607/0.7849, allocations: 6.334 MB / 437.5 MB, free: 1.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007099/0.792, allocations: 0.7215 MB / 438.2 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1008/0.893, allocations: 26.53 MB / 464.8 MB, free: 6.441 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0154/0.9085, allocations: 4.656 MB / 469.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.9138, allocations: 1.164 MB / 470.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005714/0.9196, allocations: 1.554 MB / 472.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002024/0.9217, allocations: 156 kB / 472.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00603/0.9278, allocations: 0.9207 MB / 473.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005429/0.9333, allocations: 1.769 MB / 475 MB, free: 12.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003799/0.9372, allocations: 0.9246 MB / 475.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.9551, allocations: 6.457 MB / 482.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9553, allocations: 0 / 482.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.689e-06/0.9553, allocations: 0 / 482.3 MB, free: 4.758 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004041/0.9557, allocations: 0 / 482.3 MB, free: 4.758 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.03189/0.9876, allocations: 4.812 MB / 487.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.31e-05/0.9877, allocations: 8.031 kB / 487.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4691/1.457, allocations: 14.59 MB / 0.49 GB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4458/1.903, allocations: 3.998 MB / 0.4939 GB, free: 109.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007773/1.904, allocations: 252.8 kB / 0.4941 GB, free: 109.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003164/1.907, allocations: 332.6 kB / 0.4945 GB, free: 109.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0439/1.951, allocations: 10.29 MB / 0.5045 GB, free: 104.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000441/1.951, allocations: 49.17 kB / 0.5046 GB, free: 104.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002298/1.954, allocations: 161.6 kB / 0.5047 GB, free: 104 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008684/1.962, allocations: 2.025 MB / 0.5067 GB, free: 103.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03853/2.001, allocations: 8.727 MB / 0.5152 GB, free: 94.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09833/2.099, allocations: 39.45 MB / 0.5537 GB, free: 54.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02075/2.12, allocations: 4.008 MB / 0.5577 GB, free: 50.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/2.122, allocations: 0.6541 MB / 0.5583 GB, free: 49.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.288e-05/2.122, allocations: 55.56 kB / 0.5583 GB, free: 49.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=175): time 8.837e-06/2.122, allocations: 0 / 0.5583 GB, free: 49.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=210): time 0.14/2.262, allocations: 21.83 MB / 0.5797 GB, free: 27.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/2.262, allocations: 256.6 kB / 0.5799 GB, free: 27.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/2.275, allocations: 4.514 MB / 0.5843 GB, free: 23.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007478/2.276, allocations: 57.7 kB / 0.5844 GB, free: 22.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00405/2.28, allocations: 3.119 MB / 0.5874 GB, free: 19.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001853/2.282, allocations: 0.796 MB / 0.5882 GB, free: 19.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009483/2.283, allocations: 116 kB / 0.5883 GB, free: 18.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006075/2.284, allocations: 0.5667 MB / 0.5889 GB, free: 18.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008207/2.292, allocations: 2.315 MB / 0.5911 GB, free: 16.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01149/2.303, allocations: 5.842 MB / 0.5968 GB, free: 8.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/2.315, allocations: 3.626 MB / 0.6004 GB, free: 4.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/2.315, allocations: 36 kB / 0.6004 GB, free: 4.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.04414/2.359, allocations: 9.553 MB / 0.6097 GB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001979/2.36, allocations: 59.94 kB / 0.6098 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000366/2.36, allocations: 124 kB / 0.6099 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01623/2.376, allocations: 2.121 MB / 0.612 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/2.387, allocations: 1.298 MB / 0.6132 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05737/2.445, allocations: 16.37 MB / 0.6292 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01178/2.457, allocations: 355.4 kB / 0.6296 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002183/2.459, allocations: 363.9 kB / 0.6299 GB, free: 6.164 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (693): * Single equations (assignments): 687 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.009982/2.469, allocations: 2.232 MB / 0.6321 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001842/2.471, allocations: 383 kB / 0.6325 GB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02374/2.495, allocations: 4.408 MB / 0.6368 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-05/2.495, allocations: 20 kB / 0.6368 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-05/2.495, allocations: 8 kB / 0.6368 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-05/2.495, allocations: 15.92 kB / 0.6368 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05259/2.548, allocations: 10.39 MB / 0.647 GB, free: 4.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.217e-05/2.548, allocations: 3.953 kB / 0.647 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004382/2.552, allocations: 311.6 kB / 0.6473 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01084/2.563, allocations: 1.352 MB / 0.6486 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007489/2.564, allocations: 36 kB / 0.6486 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4793/3.043, allocations: 8.647 MB / 0.6571 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/3.043, allocations: 0 / 0.6571 GB, free: 137.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03338/3.077, allocations: 7.554 MB / 0.6644 GB, free: 134.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00439/3.081, allocations: 0.7552 MB / 0.6652 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002089/3.083, allocations: 36.97 kB / 0.6652 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005834/3.089, allocations: 126.3 kB / 0.6653 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001296/3.091, allocations: 127.4 kB / 0.6655 GB, free: 134.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005223/3.091, allocations: 55.31 kB / 0.6655 GB, free: 134.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01179/3.103, allocations: 2.884 MB / 0.6683 GB, free: 133.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.805e-06/3.103, allocations: 0 / 0.6683 GB, free: 133.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01249/3.115, allocations: 1.172 MB / 0.6695 GB, free: 133 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (157): * Single equations (assignments): 153 * 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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/3.117, allocations: 193.7 kB / 0.6697 GB, free: 132.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02296/3.14, allocations: 6.17 MB / 0.6757 GB, free: 130.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/3.14, allocations: 0 / 0.6757 GB, free: 130.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01042/3.151, allocations: 2.255 MB / 0.6779 GB, free: 129.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007375/3.158, allocations: 0.5225 MB / 0.6784 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04613/3.204, allocations: 12.77 MB / 0.6909 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01161/3.216, allocations: 3.621 MB / 0.6944 GB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002883/3.219, allocations: 307.4 kB / 0.6947 GB, free: 114.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.464e-06/3.219, allocations: 0 / 0.6947 GB, free: 114.6 MB / 426.7 MB Notification: Performance of Templates: time 0.2744/3.493, allocations: 100.3 MB / 0.7926 GB, free: 14.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches