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.001155/0.00116, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 59.66 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08451/0.08565, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01162/0.0973, allocations: 11.77 MB / 370.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1517/0.249, allocations: 4.342 MB / 375 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.2505, allocations: 80.12 kB / 375.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00462/0.2551, allocations: 2.872 MB / 378 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004445/0.2596, allocations: 1.936 MB / 379.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.2617, allocations: 1.03 MB / 380.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006329/0.268, allocations: 5.607 MB / 386.5 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003719/0.2718, allocations: 3.976 MB / 390.5 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.2741, allocations: 1.696 MB / 392.2 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.2765, allocations: 2.288 MB / 394.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005786/0.277, allocations: 362.2 kB / 394.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.2788, allocations: 1.226 MB / 396.1 MB, free: 2.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.2801, allocations: 2.082 MB / 398.2 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.2818, allocations: 2.346 MB / 400.5 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006324/0.2882, allocations: 7.547 MB / 408.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2882, allocations: 0 / 408.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2882, allocations: 0 / 408.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.603e-05/0.2883, allocations: 0 / 408.1 MB, free: 8.109 MB / 318.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.008866/0.2972, allocations: 5.178 MB / 413.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2972, allocations: 8.031 kB / 413.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02444/0.3217, allocations: 3.157 MB / 416.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008902/0.3306, allocations: 3.522 MB / 419.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.3308, allocations: 244.8 kB / 420.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008262/0.3316, allocations: 333.9 kB / 420.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/0.3456, allocations: 9.839 MB / 430.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.3458, allocations: 51.5 kB / 430.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003795/0.3462, allocations: 151.5 kB / 430.5 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003078/0.3492, allocations: 1.899 MB / 432.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01502/0.3643, allocations: 8.506 MB / 440.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04315/0.4075, allocations: 38.2 MB / 479.1 MB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008084/0.4156, allocations: 3.945 MB / 483.1 MB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.4182, allocations: 2.185 MB / 485.3 MB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/0.4189, allocations: 0.6452 MB / 485.9 MB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.4189, allocations: 63.44 kB / 486 MB, free: 8.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=166): time 4.238e-06/0.4189, allocations: 0 / 486 MB, free: 8.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=201): time 0.05698/0.4759, allocations: 22.52 MB / 0.4966 GB, free: 1.926 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.4761, allocations: 252.6 kB / 0.4968 GB, free: 1.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/0.4815, allocations: 4.153 MB / 0.5009 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003164/0.4818, allocations: 60.44 kB / 0.5009 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002017/0.4838, allocations: 3.082 MB / 0.5039 GB, free: 10.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007526/0.4846, allocations: 0.7635 MB / 0.5047 GB, free: 9.547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.4862, allocations: 1.252 MB / 0.5059 GB, free: 8.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.4863, allocations: 305.1 kB / 0.5062 GB, free: 7.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003423/0.4897, allocations: 2.487 MB / 0.5086 GB, free: 5.492 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005623/0.4953, allocations: 5.988 MB / 0.5145 GB, free: 13.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009895/0.5052, allocations: 9.059 MB / 0.5233 GB, free: 3.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-05/0.5053, allocations: 36 kB / 0.5233 GB, free: 2.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.1738/0.6792, allocations: 10.54 MB / 0.5336 GB, free: 135.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.6793, allocations: 56.31 kB / 0.5337 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/0.6796, allocations: 121.5 kB / 0.5338 GB, free: 135.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008052/0.6876, allocations: 2.587 MB / 0.5363 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/0.6919, allocations: 1.31 MB / 0.5376 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/0.7127, allocations: 18.65 MB / 0.5558 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/0.7172, allocations: 361.4 kB / 0.5562 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007067/0.7179, allocations: 369.1 kB / 0.5565 GB, free: 125.3 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.002927/0.7209, allocations: 2.14 MB / 0.5586 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006401/0.7215, allocations: 371.3 kB / 0.559 GB, free: 124.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008356/0.7299, allocations: 5.024 MB / 0.5639 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.377e-05/0.7299, allocations: 22.97 kB / 0.5639 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/0.73, allocations: 6.375 kB / 0.5639 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/0.73, allocations: 11.16 kB / 0.5639 GB, free: 122.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.7473, allocations: 10.72 MB / 0.5744 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/0.7473, allocations: 3.281 kB / 0.5744 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.7487, allocations: 291.5 kB / 0.5747 GB, free: 112.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004636/0.7533, allocations: 1.842 MB / 0.5765 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/0.7536, allocations: 35.89 kB / 0.5765 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01092/0.7645, allocations: 10.41 MB / 0.5867 GB, free: 99.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7645, allocations: 4.031 kB / 0.5867 GB, free: 99.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.7753, allocations: 8.156 MB / 0.5946 GB, free: 91.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000974/0.7763, allocations: 436.1 kB / 0.595 GB, free: 91.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/0.7768, allocations: 32 kB / 0.5951 GB, free: 91.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.7783, allocations: 139.8 kB / 0.5952 GB, free: 90.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003666/0.7787, allocations: 113.1 kB / 0.5953 GB, free: 90.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/0.7789, allocations: 48 kB / 0.5954 GB, free: 90.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002946/0.7818, allocations: 2.615 MB / 0.5979 GB, free: 88.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.7818, allocations: 0 / 0.5979 GB, free: 88.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004343/0.7862, allocations: 1.165 MB / 0.599 GB, free: 86.99 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.0003867/0.7866, allocations: 173 kB / 0.5992 GB, free: 86.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007818/0.7944, allocations: 6.507 MB / 0.6056 GB, free: 80.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7944, allocations: 0 / 0.6056 GB, free: 80.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002411/0.7968, allocations: 2.158 MB / 0.6077 GB, free: 78.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.7996, allocations: 0.5571 MB / 0.6082 GB, free: 77.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.8133, allocations: 10.27 MB / 0.6182 GB, free: 67.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/0.8162, allocations: 3.392 MB / 0.6216 GB, free: 63.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003459/0.8197, allocations: 1.876 MB / 0.6234 GB, free: 61.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/0.8203, allocations: 255.4 kB / 0.6236 GB, free: 61.74 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.8204, allocations: 0 / 0.6236 GB, free: 61.74 MB / 446.1 MB Notification: Performance of Templates: time 0.06521/0.8856, allocations: 46.43 MB / 0.669 GB, free: 15.64 MB / 446.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 -s gbode -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