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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002113/0.002113, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 230.2 MB / 254.5 MB, free: 15.42 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.89 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09356/0.09542, allocations: 53.33 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01396/0.1094, allocations: 11.82 MB / 438.5 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008807/0.1182, allocations: 4.37 MB / 442.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.1199, allocations: 79.69 kB / 442.9 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005674/0.1256, allocations: 2.916 MB / 445.9 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.184/0.3096, allocations: 1.963 MB / 447.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.3119, allocations: 1.042 MB / 448.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006934/0.3189, allocations: 5.592 MB / 454.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004444/0.3233, allocations: 3.301 MB / 457.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.3264, allocations: 1.713 MB / 459.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003849/0.3303, allocations: 2.474 MB / 461.9 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.3314, allocations: 361.6 kB / 462.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.3342, allocations: 1.273 MB / 463.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002478/0.3367, allocations: 2.142 MB / 465.7 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003291/0.3399, allocations: 2.48 MB / 468.2 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.35, allocations: 7.918 MB / 476.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.35, allocations: 1.156 kB / 476.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.35, allocations: 0 / 476.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002593/0.3503, allocations: 0 / 476.1 MB, free: 0.5078 MB / 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.01829/0.3685, allocations: 5.567 MB / 481.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3686, allocations: 11.38 kB / 481.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002117/0.3707, allocations: 0.7085 MB / 482.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1482/0.5189, allocations: 12.39 MB / 494.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.5297, allocations: 3.965 MB / 498.8 MB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/0.5299, allocations: 240.5 kB / 499 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.5311, allocations: 325.8 kB / 499.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/0.5498, allocations: 9.718 MB / 0.4971 GB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.55, allocations: 53.91 kB / 0.4971 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005569/0.5506, allocations: 154.8 kB / 0.4973 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003412/0.554, allocations: 1.899 MB / 0.4992 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/0.5712, allocations: 8.24 MB / 0.5072 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05354/0.6247, allocations: 37.76 MB / 0.5441 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00888/0.6336, allocations: 3.697 MB / 0.5477 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002803/0.6364, allocations: 1.917 MB / 0.5496 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/0.6372, allocations: 0.6446 MB / 0.5502 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.991e-05/0.6372, allocations: 55.55 kB / 0.5502 GB, free: 13.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 4.608e-06/0.6372, allocations: 0 / 0.5502 GB, free: 13.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=201): time 0.0576/0.6948, allocations: 21.1 MB / 0.5709 GB, free: 8.695 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.695, allocations: 256.6 kB / 0.5711 GB, free: 8.391 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006663/0.7016, allocations: 4.181 MB / 0.5752 GB, free: 4.191 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004443/0.7021, allocations: 56.05 kB / 0.5752 GB, free: 4.133 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.7048, allocations: 3.238 MB / 0.5784 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001145/0.7059, allocations: 0.7986 MB / 0.5792 GB, free: 116 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001916/0.7078, allocations: 1.185 MB / 0.5803 GB, free: 14.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7079, allocations: 309.1 kB / 0.5806 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/0.7116, allocations: 2.276 MB / 0.5829 GB, free: 12.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006854/0.7185, allocations: 5.743 MB / 0.5885 GB, free: 4.871 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/0.73, allocations: 8.682 MB / 0.5969 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-05/0.7301, allocations: 40 kB / 0.597 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=759) (initialization): time 0.02069/0.7508, allocations: 9.542 MB / 0.6063 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.7509, allocations: 56 kB / 0.6063 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/0.7511, allocations: 120 kB / 0.6065 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006189/0.7572, allocations: 2.071 MB / 0.6085 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/0.7613, allocations: 1.252 MB / 0.6097 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/0.7859, allocations: 17.26 MB / 0.6266 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004842/0.7908, allocations: 339.5 kB / 0.6269 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/0.792, allocations: 355.6 kB / 0.6272 GB, free: 11.08 MB / 0.5294 GB 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 (671): * Single equations (assignments): 665 * 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 {(2,36,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.004981/0.797, allocations: 2.137 MB / 0.6293 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/0.798, allocations: 401.3 kB / 0.6297 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009447/0.8075, allocations: 4.267 MB / 0.6339 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-05/0.8075, allocations: 23.94 kB / 0.6339 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-05/0.8076, allocations: 8 kB / 0.6339 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-05/0.8076, allocations: 11.91 kB / 0.6339 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2131/1.021, allocations: 9.957 MB / 0.6436 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/1.021, allocations: 1.406 kB / 0.6436 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.022, allocations: 292.4 kB / 0.6439 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004104/1.026, allocations: 1.351 MB / 0.6452 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003662/1.027, allocations: 38.7 kB / 0.6453 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01257/1.039, allocations: 8.97 MB / 0.654 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.039, allocations: 3.094 kB / 0.654 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.051, allocations: 7.237 MB / 0.6611 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.052, allocations: 445 kB / 0.6615 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/1.053, allocations: 35.69 kB / 0.6615 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.055, allocations: 119.7 kB / 0.6617 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004658/1.056, allocations: 118 kB / 0.6618 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/1.056, allocations: 51.41 kB / 0.6618 GB, free: 167.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004195/1.06, allocations: 2.641 MB / 0.6644 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/1.06, allocations: 1.094 kB / 0.6644 GB, free: 166.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00566/1.066, allocations: 1.097 MB / 0.6655 GB, free: 166.5 MB / 0.5294 GB 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 {(5,30,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01055/1.076, allocations: 7.906 MB / 0.6732 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007613/1.084, allocations: 5.824 MB / 0.6789 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.084, allocations: 0 / 0.6789 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003198/1.087, allocations: 2.069 MB / 0.6809 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.091, allocations: 0.5895 MB / 0.6815 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06288/1.154, allocations: 49.78 MB / 0.7301 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/1.157, allocations: 3.398 MB / 0.7334 GB, free: 102.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003772/1.161, allocations: 1.882 MB / 0.7352 GB, free: 100.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/1.163, allocations: 1.979 MB / 0.7372 GB, free: 98.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.463e-06/1.163, allocations: 0 / 0.7372 GB, free: 98.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/1.284, allocations: 84.09 MB / 0.8193 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.46/29.74, allocations: 3.938 kB / 0.8193 GB, free: 14.66 MB / 0.5294 GB " [Timeout remaining time 630] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 43.19315605284646]