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.001171/0.001172, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001489, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.3 MB, free: 9.168 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 66.61 kB / 306.3 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1104, allocations: 50.53 MB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.2191/0.3296, allocations: 46.46 MB / 403.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0234/0.353, allocations: 10.07 MB / 413.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01131/0.3644, allocations: 207.8 kB / 413.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006609/0.3711, allocations: 2.871 MB / 416.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.3755, allocations: 1.802 MB / 418.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.3775, allocations: 0.9827 MB / 419.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008945/0.3865, allocations: 7.843 MB / 427 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004412/0.3909, allocations: 3.907 MB / 430.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.3932, allocations: 1.502 MB / 432.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003296/0.3965, allocations: 2.442 MB / 434.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005455/0.3971, allocations: 248 kB / 435.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.3993, allocations: 1.182 MB / 436.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001971/0.4013, allocations: 1.995 MB / 438.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.4036, allocations: 2.237 MB / 440.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006865/0.4105, allocations: 7.22 MB / 447.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4106, allocations: 0 / 447.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4106, allocations: 8 kB / 447.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001528/0.4107, allocations: 0 / 447.8 MB, free: 0.5508 MB / 350.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.00906/0.4198, allocations: 5.177 MB / 452.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4198, allocations: 12.03 kB / 453 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02483/0.4447, allocations: 3.154 MB / 456.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0078/0.4525, allocations: 3.446 MB / 459.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.4527, allocations: 238.1 kB / 459.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008476/0.4536, allocations: 335.6 kB / 460.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.4695, allocations: 9.843 MB / 470 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.4697, allocations: 51.59 kB / 470 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004089/0.4701, allocations: 155.9 kB / 470.2 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003187/0.4733, allocations: 1.9 MB / 472.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01767/0.491, allocations: 8.488 MB / 480.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0573/0.5483, allocations: 38.39 MB / 0.5068 GB, free: 7.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009084/0.5575, allocations: 3.95 MB / 0.5106 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/0.5604, allocations: 2.177 MB / 0.5128 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.5612, allocations: 0.6477 MB / 0.5134 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/0.5612, allocations: 59.48 kB / 0.5135 GB, free: 356 kB / 430.1 MB Notification: Performance of pre-optimization done (n=166): time 4.157e-06/0.5613, allocations: 0 / 0.5135 GB, free: 356 kB / 430.1 MB Notification: Performance of matching and sorting (n=201): time 0.2373/0.7986, allocations: 22.51 MB / 0.5354 GB, free: 143.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.7987, allocations: 256.3 kB / 0.5357 GB, free: 143.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/0.8058, allocations: 4.161 MB / 0.5397 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004363/0.8063, allocations: 53.73 kB / 0.5398 GB, free: 142.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.808, allocations: 3.079 MB / 0.5428 GB, free: 139.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008487/0.8089, allocations: 0.7723 MB / 0.5436 GB, free: 139.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/0.8106, allocations: 1.248 MB / 0.5448 GB, free: 138.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.117e-05/0.8107, allocations: 302.6 kB / 0.5451 GB, free: 138.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/0.8145, allocations: 2.492 MB / 0.5475 GB, free: 137.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008145/0.8226, allocations: 5.977 MB / 0.5533 GB, free: 131.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01322/0.8359, allocations: 9.072 MB / 0.5622 GB, free: 124.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001603/0.8361, allocations: 32.91 kB / 0.5622 GB, free: 124.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.02989/0.866, allocations: 10.55 MB / 0.5725 GB, free: 121.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.8662, allocations: 57.94 kB / 0.5726 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/0.8663, allocations: 128.2 kB / 0.5727 GB, free: 121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/0.8768, allocations: 2.587 MB / 0.5752 GB, free: 118.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006121/0.883, allocations: 1.307 MB / 0.5765 GB, free: 117.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/0.9049, allocations: 17.25 MB / 0.5933 GB, free: 99.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005636/0.9106, allocations: 367.2 kB / 0.5937 GB, free: 99.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/0.9121, allocations: 357.3 kB / 0.594 GB, free: 98.82 MB / 446.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.004226/0.9164, allocations: 2.144 MB / 0.5961 GB, free: 96.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/0.9175, allocations: 371.2 kB / 0.5965 GB, free: 96.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009296/0.9268, allocations: 5.019 MB / 0.6014 GB, free: 91.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/0.9269, allocations: 20 kB / 0.6014 GB, free: 91.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/0.927, allocations: 11.94 kB / 0.6014 GB, free: 91.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.598e-05/0.927, allocations: 15.95 kB / 0.6014 GB, free: 91.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02102/0.948, allocations: 10.76 MB / 0.6119 GB, free: 80.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/0.9481, allocations: 4 kB / 0.6119 GB, free: 80.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.9495, allocations: 287.5 kB / 0.6122 GB, free: 80.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004856/0.9543, allocations: 1.846 MB / 0.614 GB, free: 78.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003564/0.9547, allocations: 35.98 kB / 0.6141 GB, free: 78.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01152/0.9663, allocations: 9.706 MB / 0.6235 GB, free: 68.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.9663, allocations: 4.031 kB / 0.6235 GB, free: 68.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/0.979, allocations: 8.169 MB / 0.6315 GB, free: 60.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.9802, allocations: 425 kB / 0.6319 GB, free: 59.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/0.9812, allocations: 32 kB / 0.632 GB, free: 59.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/0.9835, allocations: 135.8 kB / 0.6321 GB, free: 59.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004438/0.984, allocations: 121.1 kB / 0.6322 GB, free: 59.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.9841, allocations: 52 kB / 0.6322 GB, free: 59.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005271/0.9894, allocations: 2.615 MB / 0.6348 GB, free: 56.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9894, allocations: 0 / 0.6348 GB, free: 56.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006541/0.996, allocations: 1.155 MB / 0.6359 GB, free: 55.67 MB / 446.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.0006948/0.9967, allocations: 177.6 kB / 0.6361 GB, free: 55.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009966/1.007, allocations: 6.487 MB / 0.6424 GB, free: 49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.007, allocations: 0 / 0.6424 GB, free: 49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002875/1.01, allocations: 2.163 MB / 0.6445 GB, free: 46.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004172/1.014, allocations: 0.5325 MB / 0.6451 GB, free: 46.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/1.034, allocations: 12.41 MB / 0.6572 GB, free: 33.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005525/1.04, allocations: 3.397 MB / 0.6605 GB, free: 30.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004843/1.045, allocations: 1.876 MB / 0.6623 GB, free: 28.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.046, allocations: 247.4 kB / 0.6626 GB, free: 28.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/1.046, allocations: 0 / 0.6626 GB, free: 28.32 MB / 446.1 MB Notification: Performance of Templates: time 0.2937/1.34, allocations: 49.51 MB / 0.7109 GB, free: 140.8 MB / 462.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins/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