Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 101.5 kB / 21.21 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 191.6 kB / 24.49 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 43.92 kB / 371.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2149, allocations: 52.18 MB / 423.4 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01254/0.2275, allocations: 10.4 MB / 433.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008586/0.236, allocations: 4.137 MB / 437.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.2378, allocations: 99.44 kB / 438 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005367/0.2431, allocations: 2.823 MB / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004818/0.2479, allocations: 2.046 MB / 442.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.2503, allocations: 1.045 MB / 443.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007494/0.2578, allocations: 5.564 MB / 449.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004014/0.2618, allocations: 3.086 MB / 452.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.2646, allocations: 1.764 MB / 454.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.2683, allocations: 2.5 MB / 456.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.2694, allocations: 368 kB / 457.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.2719, allocations: 1.163 MB / 458.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002534/0.2744, allocations: 2.185 MB / 460.5 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002808/0.2772, allocations: 1.923 MB / 462.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009346/0.2866, allocations: 8.117 MB / 470.6 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.2866, allocations: 4 kB / 470.6 MB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2866, allocations: 0 / 470.6 MB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000177/0.2868, allocations: 0 / 470.6 MB, free: 15 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.01365/0.3004, allocations: 5.562 MB / 476.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3005, allocations: 16.02 kB / 476.1 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001344/0.3006, allocations: 102.5 kB / 476.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001401/0.302, allocations: 0.7196 MB / 477 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.143/0.445, allocations: 12.39 MB / 489.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00939/0.4544, allocations: 4.121 MB / 493.5 MB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.4546, allocations: 242.2 kB / 493.7 MB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.4556, allocations: 327.8 kB / 494 MB, free: 7.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.4726, allocations: 10 MB / 0.4922 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.4727, allocations: 51.62 kB / 0.4923 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006068/0.4733, allocations: 159.8 kB / 0.4924 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/0.4768, allocations: 1.955 MB / 0.4943 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.4922, allocations: 8.34 MB / 0.5025 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2219/0.7141, allocations: 36.15 MB / 0.5378 GB, free: 100.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007054/0.7212, allocations: 3.229 MB / 0.5409 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.723, allocations: 1.924 MB / 0.5428 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003883/0.7233, allocations: 194.4 kB / 0.543 GB, free: 100.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.7234, allocations: 52.62 kB / 0.543 GB, free: 100.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.208e-06/0.7234, allocations: 0 / 0.543 GB, free: 100.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.0467/0.7701, allocations: 21.04 MB / 0.5636 GB, free: 88.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.7701, allocations: 260.1 kB / 0.5638 GB, free: 87.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/0.7744, allocations: 4.192 MB / 0.5679 GB, free: 83.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002676/0.7746, allocations: 57.7 kB / 0.568 GB, free: 83.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/0.7758, allocations: 3.277 MB / 0.5712 GB, free: 80.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005835/0.7764, allocations: 0.7999 MB / 0.572 GB, free: 79.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/0.7776, allocations: 1.194 MB / 0.5731 GB, free: 78.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.436e-05/0.7777, allocations: 305.1 kB / 0.5734 GB, free: 77.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/0.78, allocations: 2.272 MB / 0.5757 GB, free: 75.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003387/0.7834, allocations: 5.832 MB / 0.5813 GB, free: 68.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00641/0.7898, allocations: 8.682 MB / 0.5898 GB, free: 57.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.732e-05/0.7899, allocations: 36 kB / 0.5899 GB, free: 57.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01373/0.8036, allocations: 9.547 MB / 0.5992 GB, free: 48.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.868e-05/0.8037, allocations: 60 kB / 0.5992 GB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.8038, allocations: 123.6 kB / 0.5994 GB, free: 48.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005193/0.809, allocations: 2.067 MB / 0.6014 GB, free: 45.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.8122, allocations: 1.248 MB / 0.6026 GB, free: 44.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.8286, allocations: 16.77 MB / 0.619 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/0.8326, allocations: 346.5 kB / 0.6193 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006338/0.8332, allocations: 352 kB / 0.6196 GB, free: 26.95 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.arrowLine.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.002615/0.8358, allocations: 2.166 MB / 0.6218 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005943/0.8364, allocations: 393.4 kB / 0.6221 GB, free: 24.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006414/0.8428, allocations: 4.267 MB / 0.6263 GB, free: 20.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.8429, allocations: 24 kB / 0.6263 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.8429, allocations: 4 kB / 0.6263 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.8429, allocations: 15.95 kB / 0.6263 GB, free: 20.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.8575, allocations: 9.516 MB / 0.6356 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.8575, allocations: 4 kB / 0.6356 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.8588, allocations: 287.7 kB / 0.6359 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003377/0.8622, allocations: 1.359 MB / 0.6372 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002314/0.8624, allocations: 32 kB / 0.6373 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009544/0.8719, allocations: 8.779 MB / 0.6458 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.8719, allocations: 11.88 kB / 0.6459 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/0.8836, allocations: 7.245 MB / 0.6529 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.8846, allocations: 365.2 kB / 0.6533 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000637/0.8852, allocations: 35.98 kB / 0.6533 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.8869, allocations: 123.8 kB / 0.6534 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/0.8873, allocations: 121 kB / 0.6535 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.8875, allocations: 51.98 kB / 0.6536 GB, free: 7.992 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004225/0.8917, allocations: 2.645 MB / 0.6562 GB, free: 5.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8917, allocations: 0 / 0.6562 GB, free: 5.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00511/0.8968, allocations: 1.129 MB / 0.6573 GB, free: 4.211 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 {(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.01262/0.9094, allocations: 7.894 MB / 0.665 GB, free: 12.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009611/0.919, allocations: 5.825 MB / 0.6707 GB, free: 6.434 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.919, allocations: 0 / 0.6707 GB, free: 6.434 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003958/0.923, allocations: 2.062 MB / 0.6727 GB, free: 4.363 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003459/0.9264, allocations: 0.5982 MB / 0.6733 GB, free: 3.781 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07949/1.006, allocations: 50.06 MB / 0.7222 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/1.01, allocations: 2.912 MB / 0.725 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004349/1.014, allocations: 1.881 MB / 0.7268 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003121/1.017, allocations: 2.014 MB / 0.7288 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/1.017, allocations: 4 kB / 0.7288 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.287/1.304, allocations: 87.33 MB / 0.8141 GB, free: 124.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.91/27.21, allocations: 11.19 kB / 0.8141 GB, free: 124.5 MB / 0.5294 GB " [Timeout remaining time 633] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 32.13185362890363]