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.00115/0.001151, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 55.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2372, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01264/0.2499, allocations: 11.77 MB / 421 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009041/0.2589, allocations: 4.347 MB / 425.4 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002069/0.2611, allocations: 79.69 kB / 425.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005093/0.2662, allocations: 2.873 MB / 428.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00441/0.2706, allocations: 1.922 MB / 430.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.2727, allocations: 1.037 MB / 431.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006832/0.2795, allocations: 5.6 MB / 436.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004703/0.2842, allocations: 3.977 MB / 440.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.2865, allocations: 1.694 MB / 442.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.2891, allocations: 2.286 MB / 444.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005518/0.2896, allocations: 364 kB / 445.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.2915, allocations: 1.225 MB / 446.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.2931, allocations: 2.073 MB / 448.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.2952, allocations: 2.354 MB / 450.8 MB, free: 7.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006774/0.302, allocations: 7.58 MB / 458.4 MB, free: 200 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.302, allocations: 0 / 458.4 MB, free: 200 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.302, allocations: 0 / 458.4 MB, free: 200 kB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001104/0.3021, allocations: 3.938 kB / 458.4 MB, free: 196 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.009083/0.3112, allocations: 5.321 MB / 463.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3113, allocations: 8.031 kB / 463.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02501/0.3363, allocations: 3.181 MB / 466.9 MB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007616/0.3439, allocations: 3.545 MB / 470.5 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.3441, allocations: 242.1 kB / 470.7 MB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009115/0.3451, allocations: 323.8 kB / 471 MB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.3607, allocations: 9.835 MB / 480.9 MB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/0.3609, allocations: 59.58 kB / 480.9 MB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/0.3613, allocations: 151.9 kB / 481.1 MB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003053/0.3643, allocations: 1.904 MB / 483 MB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/0.3798, allocations: 8.484 MB / 491.5 MB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04247/0.4223, allocations: 38.29 MB / 0.5173 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008287/0.4306, allocations: 3.946 MB / 0.5212 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/0.4332, allocations: 2.185 MB / 0.5233 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/0.4339, allocations: 0.6438 MB / 0.524 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.189e-05/0.4339, allocations: 55.56 kB / 0.524 GB, free: 15.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 5.54e-06/0.434, allocations: 0 / 0.524 GB, free: 15.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=201): time 0.2801/0.7141, allocations: 22.78 MB / 0.5463 GB, free: 121.1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.7142, allocations: 254.3 kB / 0.5465 GB, free: 120.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004361/0.7185, allocations: 4.172 MB / 0.5506 GB, free: 119.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002948/0.7188, allocations: 53.02 kB / 0.5506 GB, free: 119.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.7202, allocations: 3.199 MB / 0.5537 GB, free: 117.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/0.7207, allocations: 0.7964 MB / 0.5545 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.7219, allocations: 1.269 MB / 0.5558 GB, free: 116 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.722, allocations: 305.1 kB / 0.5561 GB, free: 115.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002679/0.7247, allocations: 2.489 MB / 0.5585 GB, free: 114.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/0.7284, allocations: 5.982 MB / 0.5643 GB, free: 109.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007124/0.7355, allocations: 9.066 MB / 0.5732 GB, free: 100.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.132e-05/0.7356, allocations: 36 kB / 0.5732 GB, free: 100.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.01491/0.7505, allocations: 10.56 MB / 0.5835 GB, free: 89.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.7506, allocations: 56 kB / 0.5836 GB, free: 89.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.772e-05/0.7507, allocations: 124.1 kB / 0.5837 GB, free: 89.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006273/0.7569, allocations: 2.597 MB / 0.5862 GB, free: 86.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/0.7603, allocations: 1.31 MB / 0.5875 GB, free: 85.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.7782, allocations: 18.65 MB / 0.6057 GB, free: 66.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/0.7825, allocations: 371.5 kB / 0.6061 GB, free: 66.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004537/0.7829, allocations: 356 kB / 0.6064 GB, free: 65.68 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.00241/0.7853, allocations: 2.134 MB / 0.6085 GB, free: 63.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005379/0.7859, allocations: 389.9 kB / 0.6089 GB, free: 63.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008049/0.7939, allocations: 5.019 MB / 0.6138 GB, free: 58.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/0.794, allocations: 20 kB / 0.6138 GB, free: 58.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.794, allocations: 11.98 kB / 0.6138 GB, free: 58.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.7941, allocations: 19.75 kB / 0.6138 GB, free: 58.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.8091, allocations: 10.71 MB / 0.6243 GB, free: 47.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.8092, allocations: 4 kB / 0.6243 GB, free: 47.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.8104, allocations: 283.5 kB / 0.6246 GB, free: 47.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004577/0.815, allocations: 1.842 MB / 0.6264 GB, free: 45.19 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.8152, allocations: 39.98 kB / 0.6264 GB, free: 45.15 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/0.8259, allocations: 10.42 MB / 0.6366 GB, free: 34.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8259, allocations: 0 / 0.6366 GB, free: 34.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/0.8365, allocations: 8.174 MB / 0.6446 GB, free: 26.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/0.8375, allocations: 446.3 kB / 0.645 GB, free: 25.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004303/0.8379, allocations: 35.94 kB / 0.645 GB, free: 25.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/0.8395, allocations: 139.8 kB / 0.6452 GB, free: 25.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.8398, allocations: 117.1 kB / 0.6453 GB, free: 25.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/0.84, allocations: 52 kB / 0.6453 GB, free: 25.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002843/0.8428, allocations: 2.611 MB / 0.6479 GB, free: 22.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8428, allocations: 0 / 0.6479 GB, free: 22.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004117/0.847, allocations: 1.164 MB / 0.649 GB, free: 21.8 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.0003557/0.8473, allocations: 171.7 kB / 0.6492 GB, free: 21.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007397/0.8547, allocations: 6.514 MB / 0.6555 GB, free: 15.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8547, allocations: 3.938 kB / 0.6555 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002297/0.8571, allocations: 2.151 MB / 0.6576 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002734/0.8598, allocations: 0.5735 MB / 0.6582 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.8731, allocations: 10.41 MB / 0.6684 GB, free: 1.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003252/0.8764, allocations: 3.385 MB / 0.6717 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004027/0.8804, allocations: 1.88 MB / 0.6735 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000721/0.8812, allocations: 247.4 kB / 0.6737 GB, free: 12.36 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.8812, allocations: 4 kB / 0.6737 GB, free: 12.36 MB / 478.1 MB Notification: Performance of Templates: time 0.08035/0.9615, allocations: 48.48 MB / 0.7211 GB, free: 12.14 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/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