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.001537/0.001537, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000806/0.000806, allocations: 88.11 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.416e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08669, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4268, allocations: 97.17 MB / 460.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/0.4271, allocations: 89.31 kB / 460.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4228/0.8498, allocations: 93.07 MB / 0.5404 GB, free: 89.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.8499, allocations: 1.375 kB / 0.5404 GB, free: 89.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002371/0.8501, allocations: 92.42 kB / 0.5405 GB, free: 89.57 MB / 410.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.01411/0.8643, allocations: 4.492 MB / 0.5449 GB, free: 87.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8643, allocations: 13 kB / 0.5449 GB, free: 87.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02619/0.8905, allocations: 6.734 MB / 0.5515 GB, free: 87.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/0.9057, allocations: 6.176 MB / 0.5575 GB, free: 86.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002718/0.906, allocations: 136.3 kB / 0.5577 GB, free: 86.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/0.9081, allocations: 265.1 kB / 0.5579 GB, free: 86.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01009/0.9182, allocations: 6.21 MB / 0.564 GB, free: 86.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/0.9368, allocations: 9.445 MB / 0.5732 GB, free: 84.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/0.937, allocations: 63.47 kB / 0.5733 GB, free: 84.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005872/0.9376, allocations: 31.22 kB / 0.5733 GB, free: 84.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001206/0.9388, allocations: 1.015 MB / 0.5743 GB, free: 84.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04012/0.979, allocations: 44.19 MB / 0.6174 GB, free: 52.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.982, allocations: 3.2 MB / 0.6206 GB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.9836, allocations: 1.962 MB / 0.6225 GB, free: 49.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.9841, allocations: 0.6566 MB / 0.6231 GB, free: 49.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.9841, allocations: 55.16 kB / 0.6232 GB, free: 49.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 3.697e-06/0.9842, allocations: 0 / 0.6232 GB, free: 49.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=210): time 0.03279/1.017, allocations: 18.37 MB / 0.6411 GB, free: 34.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/1.017, allocations: 256.6 kB / 0.6414 GB, free: 34.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003912/1.021, allocations: 3.267 MB / 0.6446 GB, free: 31.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002931/1.021, allocations: 25.7 kB / 0.6446 GB, free: 31.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/1.023, allocations: 3.312 MB / 0.6478 GB, free: 28.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/1.023, allocations: 0.7689 MB / 0.6486 GB, free: 27.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/1.023, allocations: 4 kB / 0.6486 GB, free: 27.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000242/1.024, allocations: 0.5676 MB / 0.6491 GB, free: 27.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/1.026, allocations: 2.134 MB / 0.6512 GB, free: 25.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/1.029, allocations: 5.821 MB / 0.6569 GB, free: 17.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/1.033, allocations: 3.482 MB / 0.6603 GB, free: 14.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.481e-05/1.033, allocations: 40 kB / 0.6603 GB, free: 14.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.01349/1.047, allocations: 8.773 MB / 0.6689 GB, free: 7.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.314e-05/1.047, allocations: 64 kB / 0.669 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-05/1.047, allocations: 128 kB / 0.6691 GB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004727/1.052, allocations: 1.977 MB / 0.671 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/1.056, allocations: 1.345 MB / 0.6723 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/1.073, allocations: 14.12 MB / 0.6861 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004419/1.078, allocations: 227.4 kB / 0.6863 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000852/1.078, allocations: 384 kB / 0.6867 GB, free: 4.758 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (724): * Single equations (assignments): 718 * 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 {(5,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.0008369/1.079, allocations: 438.6 kB / 0.6871 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/1.08, allocations: 363.3 kB / 0.6875 GB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2244/1.304, allocations: 3.985 MB / 0.6914 GB, free: 91.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/1.304, allocations: 22.34 kB / 0.6914 GB, free: 91.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.41e-05/1.304, allocations: 7.844 kB / 0.6914 GB, free: 91.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.419e-05/1.304, allocations: 10.09 kB / 0.6914 GB, free: 91.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/1.324, allocations: 8.991 MB / 0.7002 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.324, allocations: 4.984 kB / 0.7002 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.326, allocations: 305.7 kB / 0.7005 GB, free: 90.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003415/1.329, allocations: 1.198 MB / 0.7016 GB, free: 90.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/1.329, allocations: 7.469 kB / 0.7016 GB, free: 90.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009074/1.339, allocations: 7.036 MB / 0.7085 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/1.339, allocations: 1.219 kB / 0.7085 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009096/1.348, allocations: 6.978 MB / 0.7153 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.349, allocations: 0.6885 MB / 0.716 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005367/1.35, allocations: 7.5 kB / 0.716 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.351, allocations: 95.64 kB / 0.7161 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000312/1.352, allocations: 115.9 kB / 0.7162 GB, free: 88.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/1.352, allocations: 60.31 kB / 0.7163 GB, free: 88.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003142/1.355, allocations: 2.207 MB / 0.7184 GB, free: 88.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.355, allocations: 0 / 0.7184 GB, free: 88.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004702/1.36, allocations: 0.9805 MB / 0.7194 GB, free: 88.56 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 () * 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.0004296/1.36, allocations: 148 kB / 0.7195 GB, free: 88.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007164/1.367, allocations: 5.775 MB / 0.7252 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.367, allocations: 1.969 kB / 0.7252 GB, free: 88.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00259/1.37, allocations: 2.018 MB / 0.7271 GB, free: 87.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/1.373, allocations: 453 kB / 0.7276 GB, free: 87.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/1.386, allocations: 8.483 MB / 0.7359 GB, free: 84.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00359/1.39, allocations: 3.619 MB / 0.7394 GB, free: 82.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004744/1.395, allocations: 1.972 MB / 0.7413 GB, free: 82.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/1.395, allocations: 248.2 kB / 0.7416 GB, free: 82.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.194e-06/1.395, allocations: 0 / 0.7416 GB, free: 82.82 MB / 426.7 MB Notification: Performance of Templates: time 0.06202/1.457, allocations: 41.33 MB / 0.7819 GB, free: 62.96 MB / 426.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