Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001292/0.001292, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2481, allocations: 50.54 MB / 409.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01232/0.2605, allocations: 11.77 MB / 421.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008478/0.269, allocations: 4.343 MB / 426.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.2711, allocations: 75.75 kB / 426.1 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005568/0.2768, allocations: 2.873 MB / 429 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004777/0.2816, allocations: 1.922 MB / 430.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.2841, allocations: 1.045 MB / 432 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007813/0.2919, allocations: 5.601 MB / 437.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004776/0.2967, allocations: 3.977 MB / 441.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/0.2997, allocations: 1.702 MB / 443.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.3031, allocations: 2.286 MB / 445.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001071/0.3042, allocations: 368 kB / 445.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3069, allocations: 1.237 MB / 447.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002739/0.3097, allocations: 2.092 MB / 449.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003613/0.3133, allocations: 2.342 MB / 451.6 MB, free: 7.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008323/0.3216, allocations: 7.553 MB / 459.1 MB, free: 152 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3217, allocations: 0 / 459.1 MB, free: 152 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3217, allocations: 4 kB / 459.1 MB, free: 148 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002252/0.3219, allocations: 0 / 459.1 MB, free: 148 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01161/0.3336, allocations: 5.181 MB / 464.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3336, allocations: 16.03 kB / 464.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02454/0.3582, allocations: 3.162 MB / 467.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008287/0.3665, allocations: 3.524 MB / 471 MB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/0.3667, allocations: 238.1 kB / 471.2 MB, free: 3.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/0.368, allocations: 331.6 kB / 471.6 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01652/0.3845, allocations: 9.839 MB / 481.4 MB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001566/0.3847, allocations: 51.58 kB / 481.4 MB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005944/0.3853, allocations: 155.8 kB / 481.6 MB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003248/0.3886, allocations: 1.896 MB / 483.5 MB, free: 6.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/0.4052, allocations: 8.484 MB / 492 MB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04596/0.4512, allocations: 38.22 MB / 0.5178 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008593/0.4598, allocations: 3.942 MB / 0.5216 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/0.4627, allocations: 2.188 MB / 0.5238 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007668/0.4635, allocations: 0.6517 MB / 0.5244 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.4635, allocations: 51.5 kB / 0.5244 GB, free: 28 kB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.428e-06/0.4636, allocations: 0 / 0.5244 GB, free: 28 kB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.2905/0.754, allocations: 22.54 MB / 0.5465 GB, free: 121.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.7541, allocations: 262.3 kB / 0.5467 GB, free: 121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005205/0.7593, allocations: 4.154 MB / 0.5508 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004129/0.7598, allocations: 57.42 kB / 0.5508 GB, free: 119.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.7615, allocations: 3.08 MB / 0.5538 GB, free: 117.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007321/0.7622, allocations: 0.7645 MB / 0.5546 GB, free: 116.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.7637, allocations: 1.26 MB / 0.5558 GB, free: 115.9 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.706e-05/0.7637, allocations: 305.1 kB / 0.5561 GB, free: 115.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002901/0.7666, allocations: 2.488 MB / 0.5585 GB, free: 114.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/0.7711, allocations: 5.976 MB / 0.5644 GB, free: 109.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007676/0.7788, allocations: 9.076 MB / 0.5732 GB, free: 100.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.734e-05/0.7789, allocations: 36 kB / 0.5733 GB, free: 100.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01798/0.7969, allocations: 10.54 MB / 0.5835 GB, free: 89.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.699e-05/0.797, allocations: 59.94 kB / 0.5836 GB, free: 89.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.673e-05/0.7971, allocations: 120 kB / 0.5837 GB, free: 89.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006492/0.8036, allocations: 2.592 MB / 0.5862 GB, free: 86.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003609/0.8073, allocations: 1.31 MB / 0.5875 GB, free: 85.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/0.8263, allocations: 18.63 MB / 0.6057 GB, free: 66.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004853/0.8312, allocations: 363.3 kB / 0.6061 GB, free: 66.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009319/0.8321, allocations: 364 kB / 0.6064 GB, free: 65.81 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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 (709): * Single equations (assignments): 703 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,35,100.0%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003225/0.8354, allocations: 2.141 MB / 0.6085 GB, free: 63.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/0.8362, allocations: 367.2 kB / 0.6089 GB, free: 63.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/0.8443, allocations: 5.026 MB / 0.6138 GB, free: 58.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-05/0.8444, allocations: 20 kB / 0.6138 GB, free: 58.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.8444, allocations: 8 kB / 0.6138 GB, free: 58.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.208e-05/0.8445, allocations: 11.91 kB / 0.6138 GB, free: 58.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/0.8613, allocations: 10.72 MB / 0.6243 GB, free: 47.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.8613, allocations: 4 kB / 0.6243 GB, free: 47.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.8626, allocations: 275.9 kB / 0.6245 GB, free: 47.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004627/0.8673, allocations: 1.85 MB / 0.6263 GB, free: 45.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003434/0.8677, allocations: 36 kB / 0.6264 GB, free: 45.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.8786, allocations: 10.41 MB / 0.6365 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.8787, allocations: 0 / 0.6365 GB, free: 34.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.8899, allocations: 8.16 MB / 0.6445 GB, free: 26.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.8911, allocations: 424.3 kB / 0.6449 GB, free: 26.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006934/0.8918, allocations: 28 kB / 0.6449 GB, free: 26.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/0.8935, allocations: 143.7 kB / 0.6451 GB, free: 25.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.8939, allocations: 125.1 kB / 0.6452 GB, free: 25.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.894, allocations: 51.52 kB / 0.6452 GB, free: 25.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003127/0.8972, allocations: 2.611 MB / 0.6478 GB, free: 23.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8972, allocations: 0 / 0.6478 GB, free: 23.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004818/0.902, allocations: 1.163 MB / 0.6489 GB, free: 21.98 MB / 462.1 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 (147): * Single equations (assignments): 143 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,33,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004231/0.9024, allocations: 165.1 kB / 0.6491 GB, free: 21.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007888/0.9103, allocations: 6.514 MB / 0.6555 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.9104, allocations: 0 / 0.6555 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.913, allocations: 2.155 MB / 0.6576 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/0.9163, allocations: 0.5583 MB / 0.6581 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.9314, allocations: 10.68 MB / 0.6685 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003599/0.935, allocations: 3.381 MB / 0.6718 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/0.9361, allocations: 283.4 kB / 0.6721 GB, free: 14.17 MB / 478.1 MB Notification: Performance of SimCode: time 1.452e-06/0.9361, allocations: 4 kB / 0.6721 GB, free: 14.17 MB / 478.1 MB Notification: Performance of Templates: time 0.3081/1.244, allocations: 100.9 MB / 0.7706 GB, free: 145.5 MB / 0.5137 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches