Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.307/1.307, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 43.92 kB / 378.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2124, allocations: 53.35 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01307/0.2255, allocations: 11.88 MB / 443.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007462/0.2329, allocations: 4.382 MB / 448.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000797/0.2337, allocations: 99.44 kB / 448.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.2385, allocations: 2.928 MB / 451.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.2419, allocations: 1.977 MB / 453.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.2437, allocations: 1.056 MB / 454.2 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006226/0.2499, allocations: 5.614 MB / 459.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003185/0.2531, allocations: 3.066 MB / 462.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.2551, allocations: 1.733 MB / 464.7 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.2579, allocations: 2.481 MB / 467.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004911/0.2584, allocations: 360 kB / 467.5 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.2603, allocations: 1.28 MB / 468.8 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.2621, allocations: 2.139 MB / 470.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.2644, allocations: 2.475 MB / 473.4 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007829/0.2722, allocations: 7.919 MB / 481.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.2722, allocations: 11.98 kB / 481.3 MB, free: 5.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2722, allocations: 0 / 481.3 MB, free: 5.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001172/0.2723, allocations: 0 / 481.3 MB, free: 5.293 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01288/0.2852, allocations: 5.496 MB / 486.8 MB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2853, allocations: 8.031 kB / 486.8 MB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001231/0.2854, allocations: 102.4 kB / 486.9 MB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001011/0.2864, allocations: 0.7071 MB / 487.6 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1651/0.4515, allocations: 12.38 MB / 0.4883 GB, free: 2.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009409/0.4609, allocations: 3.879 MB / 0.4921 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.4611, allocations: 238.1 kB / 0.4923 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008384/0.4619, allocations: 323.8 kB / 0.4926 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01478/0.4767, allocations: 9.726 MB / 0.5021 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.4768, allocations: 43.66 kB / 0.5021 GB, free: 3.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/0.4772, allocations: 147.9 kB / 0.5023 GB, free: 3.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003199/0.4804, allocations: 1.908 MB / 0.5042 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.4943, allocations: 8.234 MB / 0.5122 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2135/0.7078, allocations: 37.64 MB / 0.5489 GB, free: 76.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006634/0.7144, allocations: 3.246 MB / 0.5521 GB, free: 76.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.7161, allocations: 1.921 MB / 0.554 GB, free: 75.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/0.7165, allocations: 204.3 kB / 0.5542 GB, free: 75.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.7166, allocations: 52.94 kB / 0.5542 GB, free: 75.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.606e-06/0.7166, allocations: 0 / 0.5542 GB, free: 75.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04612/0.7627, allocations: 20.92 MB / 0.5747 GB, free: 62.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.7627, allocations: 255 kB / 0.5749 GB, free: 62.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.7665, allocations: 4.179 MB / 0.579 GB, free: 58.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.7667, allocations: 53.7 kB / 0.579 GB, free: 58.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.7679, allocations: 3.239 MB / 0.5822 GB, free: 55.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.7684, allocations: 0.8029 MB / 0.583 GB, free: 54.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.7694, allocations: 1.179 MB / 0.5841 GB, free: 53.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.272e-05/0.7695, allocations: 309 kB / 0.5844 GB, free: 52.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/0.7717, allocations: 2.276 MB / 0.5867 GB, free: 50.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003184/0.7749, allocations: 5.745 MB / 0.5923 GB, free: 43.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006059/0.7809, allocations: 8.691 MB / 0.6008 GB, free: 32.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.164e-05/0.781, allocations: 32 kB / 0.6008 GB, free: 32.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01366/0.7947, allocations: 9.532 MB / 0.6101 GB, free: 23.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.7947, allocations: 60 kB / 0.6101 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.563e-05/0.7948, allocations: 120 kB / 0.6103 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00508/0.7999, allocations: 2.077 MB / 0.6123 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/0.8033, allocations: 1.251 MB / 0.6135 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/0.8201, allocations: 16.94 MB / 0.6301 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/0.8242, allocations: 343.8 kB / 0.6304 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000469/0.8247, allocations: 355.9 kB / 0.6307 GB, free: 1.84 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 (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.002498/0.8272, allocations: 2.131 MB / 0.6328 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006417/0.8279, allocations: 401.3 kB / 0.6332 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007838/0.8357, allocations: 4.267 MB / 0.6374 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.183e-05/0.8357, allocations: 31.77 kB / 0.6374 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/0.8357, allocations: 8.875 kB / 0.6374 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.8358, allocations: 7.969 kB / 0.6374 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01651/0.8523, allocations: 9.923 MB / 0.6471 GB, free: 1.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.8523, allocations: 4 kB / 0.6471 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.8536, allocations: 295.5 kB / 0.6474 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003831/0.8574, allocations: 1.355 MB / 0.6487 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.8575, allocations: 43.52 kB / 0.6487 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01258/0.8701, allocations: 8.867 MB / 0.6574 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.8701, allocations: 0 / 0.6574 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/0.8815, allocations: 7.245 MB / 0.6645 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.8825, allocations: 365.2 kB / 0.6648 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004341/0.8829, allocations: 31.94 kB / 0.6649 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.8844, allocations: 123.8 kB / 0.665 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.8848, allocations: 125 kB / 0.6651 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.8849, allocations: 48 kB / 0.6651 GB, free: 14.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003828/0.8887, allocations: 2.644 MB / 0.6677 GB, free: 11.72 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8887, allocations: 0 / 0.6677 GB, free: 11.72 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004578/0.8933, allocations: 1.101 MB / 0.6688 GB, free: 10.62 MB / 494.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.01174/0.9051, allocations: 7.901 MB / 0.6765 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00944/0.9145, allocations: 5.823 MB / 0.6822 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9145, allocations: 0 / 0.6822 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/0.9182, allocations: 2.062 MB / 0.6842 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/0.9213, allocations: 0.5982 MB / 0.6848 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07204/0.9934, allocations: 49.88 MB / 0.7335 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00368/0.9971, allocations: 3.393 MB / 0.7368 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00396/1.001, allocations: 1.88 MB / 0.7387 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002445/1.003, allocations: 1.979 MB / 0.7406 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.003, allocations: 0 / 0.7406 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9775/1.981, allocations: 89.05 MB / 0.8276 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.12/28.1, allocations: 8.047 kB / 0.8276 GB, free: 151.5 MB / 0.5606 GB " [Timeout remaining time 632] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/DoublePendulumInitTip/DoublePendulumInitTip.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.33751740201842]