Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001532/0.001532, allocations: 179.7 kB / 17.02 MB, free: 5.125 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.36/1.36, allocations: 205.4 MB / 223.1 MB, free: 9.109 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.0009276/0.0009275, allocations: 80.23 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002507, allocations: 16 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2291, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.3421, allocations: 97.69 MB / 473.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.3424, allocations: 95.95 kB / 473.6 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3737/0.7161, allocations: 94.85 MB / 0.5551 GB, free: 61.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7161, allocations: 0 / 0.5551 GB, free: 61.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002366/0.7164, allocations: 87.98 kB / 0.5552 GB, free: 61.6 MB / 378.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.01218/0.7286, allocations: 4.903 MB / 0.56 GB, free: 56.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.7286, allocations: 8.031 kB / 0.56 GB, free: 56.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.024/0.7526, allocations: 6.721 MB / 0.5666 GB, free: 49.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01447/0.7671, allocations: 6.204 MB / 0.5726 GB, free: 43.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.7674, allocations: 328.6 kB / 0.5729 GB, free: 43.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001683/0.7691, allocations: 459.6 kB / 0.5734 GB, free: 42.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/0.7862, allocations: 10.51 MB / 0.5836 GB, free: 31.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002034/0.7865, allocations: 59.53 kB / 0.5837 GB, free: 31.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009815/0.7875, allocations: 207.9 kB / 0.5839 GB, free: 31.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001153/0.7886, allocations: 1.015 MB / 0.5849 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.8022, allocations: 8.691 MB / 0.5934 GB, free: 21.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04665/0.8489, allocations: 46.16 MB / 0.6385 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009154/0.8581, allocations: 4.002 MB / 0.6424 GB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006858/0.8588, allocations: 0.66 MB / 0.643 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.8589, allocations: 55.5 kB / 0.6431 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 5.28e-06/0.8589, allocations: 0 / 0.6431 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.2089/1.068, allocations: 21.28 MB / 0.6638 GB, free: 90.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.068, allocations: 255.5 kB / 0.6641 GB, free: 90.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/1.073, allocations: 3.752 MB / 0.6677 GB, free: 89.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/1.073, allocations: 57.73 kB / 0.6678 GB, free: 89.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/1.075, allocations: 3.255 MB / 0.671 GB, free: 88.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/1.075, allocations: 0.8011 MB / 0.6718 GB, free: 87.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.076, allocations: 115.3 kB / 0.6719 GB, free: 87.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002385/1.076, allocations: 0.5585 MB / 0.6724 GB, free: 87.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/1.078, allocations: 2.262 MB / 0.6746 GB, free: 87.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/1.082, allocations: 5.802 MB / 0.6803 GB, free: 82.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/1.086, allocations: 3.566 MB / 0.6838 GB, free: 81.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.594e-05/1.086, allocations: 38.36 kB / 0.6838 GB, free: 81.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01432/1.1, allocations: 9.548 MB / 0.6931 GB, free: 77.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.353e-05/1.1, allocations: 58.03 kB / 0.6932 GB, free: 77.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.1, allocations: 123.5 kB / 0.6933 GB, free: 77.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005267/1.105, allocations: 1.978 MB / 0.6952 GB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/1.109, allocations: 1.298 MB / 0.6965 GB, free: 77.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01668/1.126, allocations: 15.53 MB / 0.7117 GB, free: 65.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004663/1.131, allocations: 344.8 kB / 0.712 GB, free: 65.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005627/1.131, allocations: 366.4 kB / 0.7124 GB, free: 64.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (697): * Single equations (assignments): 691 * 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.003152/1.134, allocations: 2.234 MB / 0.7145 GB, free: 62.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000585/1.135, allocations: 387 kB / 0.7149 GB, free: 62.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/1.142, allocations: 4.198 MB / 0.719 GB, free: 59.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.142, allocations: 20 kB / 0.719 GB, free: 59.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.142, allocations: 8 kB / 0.719 GB, free: 59.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/1.142, allocations: 9.328 kB / 0.719 GB, free: 59.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.157, allocations: 10.03 MB / 0.7288 GB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.157, allocations: 0 / 0.7288 GB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/1.158, allocations: 302 kB / 0.7291 GB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003311/1.162, allocations: 1.221 MB / 0.7303 GB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/1.162, allocations: 32 kB / 0.7303 GB, free: 49.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00893/1.171, allocations: 7.862 MB / 0.738 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.171, allocations: 7.938 kB / 0.738 GB, free: 42.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009521/1.18, allocations: 7.229 MB / 0.7451 GB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/1.182, allocations: 0.7267 MB / 0.7458 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/1.183, allocations: 33.56 kB / 0.7458 GB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/1.184, allocations: 128.1 kB / 0.7459 GB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/1.185, allocations: 110.8 kB / 0.7461 GB, free: 35.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.185, allocations: 55.8 kB / 0.7461 GB, free: 35.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003233/1.188, allocations: 2.659 MB / 0.7487 GB, free: 33.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.188, allocations: 4 kB / 0.7487 GB, free: 33.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004383/1.192, allocations: 1.135 MB / 0.7498 GB, free: 31.89 MB / 410.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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003895/1.193, allocations: 180.2 kB / 0.75 GB, free: 31.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006971/1.2, allocations: 6.023 MB / 0.7559 GB, free: 25.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.2, allocations: 0 / 0.7559 GB, free: 25.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002708/1.202, allocations: 2.111 MB / 0.7579 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/1.205, allocations: 0.5211 MB / 0.7584 GB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/1.219, allocations: 12.17 MB / 0.7703 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003145/1.223, allocations: 3.628 MB / 0.7739 GB, free: 7.242 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004319/1.227, allocations: 1.931 MB / 0.7758 GB, free: 5.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/1.228, allocations: 255.4 kB / 0.776 GB, free: 5.07 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/1.228, allocations: 4 kB / 0.776 GB, free: 5.066 MB / 410.7 MB Notification: Performance of Templates: time 0.2571/1.485, allocations: 45.89 MB / 0.8208 GB, free: 106.3 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins/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_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches