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.001304/0.001304, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001297/0.001297, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.335/1.335, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001454/0.001454, allocations: 47.92 kB / 371.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2118, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0137/0.2255, allocations: 12.01 MB / 435.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.2338, allocations: 4.383 MB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001501/0.2353, allocations: 99.44 kB / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005408/0.2407, allocations: 2.943 MB / 442.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004526/0.2452, allocations: 2.039 MB / 444.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.2473, allocations: 1.056 MB / 445.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007117/0.2545, allocations: 5.564 MB / 451.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003741/0.2582, allocations: 3.097 MB / 454.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.2607, allocations: 1.756 MB / 456.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/0.2641, allocations: 2.504 MB / 458.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007133/0.2648, allocations: 364 kB / 459.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.267, allocations: 1.287 MB / 460.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.2692, allocations: 2.197 MB / 462.7 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002812/0.272, allocations: 2.529 MB / 465.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008765/0.2808, allocations: 8.09 MB / 473.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2808, allocations: 3.938 kB / 473.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2808, allocations: 0 / 473.3 MB, free: 12.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001389/0.2809, allocations: 0 / 473.3 MB, free: 12.47 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.01322/0.2941, allocations: 5.562 MB / 478.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2942, allocations: 8.031 kB / 478.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001236/0.2943, allocations: 106.5 kB / 479 MB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00108/0.2954, allocations: 0.7234 MB / 479.7 MB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1679/0.4633, allocations: 12.39 MB / 492.1 MB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009402/0.4727, allocations: 4.105 MB / 496.2 MB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.4729, allocations: 238.2 kB / 496.5 MB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000773/0.4737, allocations: 335.7 kB / 496.8 MB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.4894, allocations: 9.896 MB / 0.4948 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.4895, allocations: 51.64 kB / 0.4949 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004252/0.49, allocations: 155.8 kB / 0.495 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003446/0.4934, allocations: 1.959 MB / 0.4969 GB, free: 8.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.5089, allocations: 8.328 MB / 0.505 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2176/0.7265, allocations: 38.08 MB / 0.5422 GB, free: 83.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006795/0.7333, allocations: 3.241 MB / 0.5454 GB, free: 83.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.7351, allocations: 1.918 MB / 0.5473 GB, free: 83.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/0.7355, allocations: 206.8 kB / 0.5475 GB, free: 83.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.7355, allocations: 58.25 kB / 0.5475 GB, free: 83.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.707e-06/0.7355, allocations: 0 / 0.5475 GB, free: 83.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04707/0.7826, allocations: 20.97 MB / 0.568 GB, free: 71.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.7827, allocations: 248.6 kB / 0.5682 GB, free: 70.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003909/0.7866, allocations: 4.208 MB / 0.5723 GB, free: 66.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.7868, allocations: 53.7 kB / 0.5724 GB, free: 66.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.7879, allocations: 3.276 MB / 0.5756 GB, free: 63.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.7883, allocations: 0.8017 MB / 0.5764 GB, free: 62.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.7894, allocations: 1.189 MB / 0.5775 GB, free: 61.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.171e-05/0.7895, allocations: 305.1 kB / 0.5778 GB, free: 61.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/0.7918, allocations: 2.268 MB / 0.58 GB, free: 59.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/0.795, allocations: 5.748 MB / 0.5857 GB, free: 51.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006037/0.801, allocations: 8.68 MB / 0.5941 GB, free: 41.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.627e-05/0.8011, allocations: 36 kB / 0.5942 GB, free: 41.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.0131/0.8142, allocations: 9.544 MB / 0.6035 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/0.8142, allocations: 56 kB / 0.6035 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-05/0.8143, allocations: 124 kB / 0.6037 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00507/0.8194, allocations: 2.063 MB / 0.6057 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003056/0.8224, allocations: 1.251 MB / 0.6069 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/0.8395, allocations: 16.95 MB / 0.6235 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/0.8436, allocations: 347.5 kB / 0.6238 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005348/0.8441, allocations: 356 kB / 0.6241 GB, free: 10.42 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.002483/0.8466, allocations: 2.166 MB / 0.6262 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006114/0.8472, allocations: 393.4 kB / 0.6266 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006646/0.8539, allocations: 4.274 MB / 0.6308 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-05/0.8539, allocations: 24 kB / 0.6308 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.8539, allocations: 8 kB / 0.6308 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.8539, allocations: 11.95 kB / 0.6308 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01692/0.8709, allocations: 10.01 MB / 0.6406 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.8709, allocations: 0 / 0.6406 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.8722, allocations: 287.5 kB / 0.6409 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003974/0.8762, allocations: 1.355 MB / 0.6422 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.8764, allocations: 32 kB / 0.6422 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.8895, allocations: 8.872 MB / 0.6509 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.8895, allocations: 4 kB / 0.6509 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.9014, allocations: 7.249 MB / 0.658 GB, free: 7.535 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.9026, allocations: 369.2 kB / 0.6583 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008514/0.9034, allocations: 32 kB / 0.6584 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/0.9052, allocations: 119.8 kB / 0.6585 GB, free: 7.023 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/0.9055, allocations: 128.9 kB / 0.6586 GB, free: 6.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.9057, allocations: 52 kB / 0.6587 GB, free: 6.848 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004139/0.9098, allocations: 2.649 MB / 0.6612 GB, free: 4.191 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9098, allocations: 0 / 0.6612 GB, free: 4.191 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004839/0.9147, allocations: 1.117 MB / 0.6623 GB, free: 3.074 MB / 478.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.01241/0.9271, allocations: 7.909 MB / 0.6701 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009764/0.9368, allocations: 5.82 MB / 0.6757 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9368, allocations: 4.125 kB / 0.6757 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/0.9408, allocations: 2.069 MB / 0.6778 GB, free: 3.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00331/0.9441, allocations: 0.5987 MB / 0.6783 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08107/1.025, allocations: 50.06 MB / 0.7272 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004692/1.03, allocations: 3.446 MB / 0.7306 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004197/1.034, allocations: 1.877 MB / 0.7324 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002708/1.037, allocations: 2.014 MB / 0.7344 GB, free: 3.762 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/1.037, allocations: 3.938 kB / 0.7344 GB, free: 3.758 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2972/1.334, allocations: 89.48 MB / 0.8218 GB, free: 134.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.03/27.36, allocations: 19.08 kB / 0.8218 GB, free: 134.3 MB / 0.545 GB " [Timeout remaining time 632] (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.999485615000594]