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.00182/0.00182, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002452/0.002452, allocations: 209.5 kB / 23.74 MB, free: 4.66 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 43.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3581, allocations: 53.37 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01555/0.3737, allocations: 11.88 MB / 443 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01108/0.3848, allocations: 4.386 MB / 447.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/0.3876, allocations: 99.38 kB / 447.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006329/0.3939, allocations: 2.92 MB / 450.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006454/0.4004, allocations: 1.991 MB / 452.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.4032, allocations: 1.052 MB / 453.5 MB, free: 464 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009664/0.4129, allocations: 5.616 MB / 459.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005828/0.4187, allocations: 3.054 MB / 462.1 MB, free: 7.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.4228, allocations: 1.737 MB / 463.9 MB, free: 5.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004955/0.4278, allocations: 2.481 MB / 466.4 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001633/0.4294, allocations: 364 kB / 466.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.4335, allocations: 1.272 MB / 468 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003773/0.4373, allocations: 2.142 MB / 470.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005898/0.4432, allocations: 2.482 MB / 472.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.4566, allocations: 7.915 MB / 480.5 MB, free: 5.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4566, allocations: 0 / 480.5 MB, free: 5.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4566, allocations: 0 / 480.5 MB, free: 5.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003312/0.4569, allocations: 0 / 480.5 MB, free: 5.254 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.01829/0.4752, allocations: 5.496 MB / 486 MB, free: 15.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4752, allocations: 12.03 kB / 486 MB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001127/0.4764, allocations: 0.7032 MB / 486.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1569/0.6332, allocations: 12.38 MB / 499.1 MB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.644, allocations: 3.879 MB / 0.4912 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.6442, allocations: 246 kB / 0.4914 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008046/0.645, allocations: 319.8 kB / 0.4917 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0161/0.6611, allocations: 9.718 MB / 0.5012 GB, free: 3.715 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001306/0.6613, allocations: 51.58 kB / 0.5013 GB, free: 3.664 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003804/0.6616, allocations: 155.8 kB / 0.5014 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003244/0.6649, allocations: 1.9 MB / 0.5033 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.6804, allocations: 8.238 MB / 0.5113 GB, free: 9.352 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3164/0.9968, allocations: 37.63 MB / 0.5481 GB, free: 75.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/1.004, allocations: 3.242 MB / 0.5512 GB, free: 75.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/1.006, allocations: 1.923 MB / 0.5531 GB, free: 75.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004628/1.007, allocations: 206.3 kB / 0.5533 GB, free: 75.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/1.007, allocations: 59.34 kB / 0.5534 GB, free: 75.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 3.817e-06/1.007, allocations: 3.562 kB / 0.5534 GB, free: 75.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04712/1.054, allocations: 20.91 MB / 0.5738 GB, free: 62.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.054, allocations: 252.6 kB / 0.574 GB, free: 62.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00465/1.059, allocations: 4.182 MB / 0.5781 GB, free: 58.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/1.059, allocations: 60.11 kB / 0.5782 GB, free: 57.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/1.06, allocations: 3.232 MB / 0.5813 GB, free: 55.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006034/1.061, allocations: 0.7975 MB / 0.5821 GB, free: 54.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/1.062, allocations: 1.187 MB / 0.5833 GB, free: 53.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/1.062, allocations: 305.1 kB / 0.5836 GB, free: 52.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/1.065, allocations: 2.274 MB / 0.5858 GB, free: 50.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/1.068, allocations: 5.736 MB / 0.5914 GB, free: 43.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006995/1.075, allocations: 8.693 MB / 0.5999 GB, free: 32.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.224e-05/1.075, allocations: 39.94 kB / 0.5999 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01355/1.089, allocations: 9.524 MB / 0.6092 GB, free: 23.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/1.089, allocations: 60.95 kB / 0.6093 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.11e-05/1.089, allocations: 124 kB / 0.6094 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005094/1.094, allocations: 2.077 MB / 0.6114 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003195/1.097, allocations: 1.262 MB / 0.6127 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/1.115, allocations: 16.93 MB / 0.6292 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/1.119, allocations: 339.5 kB / 0.6295 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005045/1.12, allocations: 348 kB / 0.6298 GB, free: 1.793 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.002912/1.123, allocations: 2.142 MB / 0.6319 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007222/1.124, allocations: 397.3 kB / 0.6323 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008154/1.132, allocations: 4.271 MB / 0.6365 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.132, allocations: 23.94 kB / 0.6365 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/1.132, allocations: 8 kB / 0.6365 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/1.132, allocations: 11.97 kB / 0.6365 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/1.15, allocations: 9.937 MB / 0.6462 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.15, allocations: 0 / 0.6462 GB, free: 0.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/1.152, allocations: 287.5 kB / 0.6465 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003849/1.155, allocations: 1.355 MB / 0.6478 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/1.156, allocations: 32 kB / 0.6479 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.169, allocations: 8.882 MB / 0.6565 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.169, allocations: 0 / 0.6565 GB, free: 6.289 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/1.181, allocations: 7.241 MB / 0.6636 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/1.182, allocations: 361.5 kB / 0.664 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004381/1.182, allocations: 32 kB / 0.664 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.184, allocations: 123.8 kB / 0.6641 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/1.184, allocations: 132.9 kB / 0.6642 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.184, allocations: 55.28 kB / 0.6643 GB, free: 14.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0041/1.188, allocations: 2.637 MB / 0.6669 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/1.188, allocations: 0 / 0.6669 GB, free: 11.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004456/1.193, allocations: 1.102 MB / 0.6679 GB, free: 10.58 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.01229/1.205, allocations: 7.9 MB / 0.6756 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009756/1.215, allocations: 5.824 MB / 0.6813 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.215, allocations: 4 kB / 0.6813 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004073/1.219, allocations: 2.061 MB / 0.6834 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/1.222, allocations: 0.5882 MB / 0.6839 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09097/1.313, allocations: 49.88 MB / 0.7326 GB, free: 2.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005682/1.319, allocations: 3.393 MB / 0.736 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00518/1.324, allocations: 1.876 MB / 0.7378 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003446/1.327, allocations: 1.983 MB / 0.7397 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/1.327, allocations: 0 / 0.7397 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8588/2.186, allocations: 89.03 MB / 0.8267 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.33/30.52, allocations: 11.97 kB / 0.8267 GB, free: 151.2 MB / 0.5606 GB " [Timeout remaining time 629] (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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 34.0494028639514]