Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001568/0.001568, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001709/0.001709, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 8.027 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-beta.om/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_4_1_0-beta_om_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-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 64.77 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2661, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01402/0.2801, allocations: 11.86 MB / 443.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009503/0.2896, allocations: 4.403 MB / 448.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.2917, allocations: 99.38 kB / 448.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005597/0.2973, allocations: 2.92 MB / 451.2 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.3026, allocations: 1.988 MB / 453.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.3051, allocations: 1.052 MB / 454.2 MB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008293/0.3134, allocations: 5.61 MB / 459.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004209/0.3176, allocations: 3.054 MB / 462.9 MB, free: 7.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.3209, allocations: 1.741 MB / 464.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00402/0.3249, allocations: 2.477 MB / 467.1 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.3259, allocations: 364 kB / 467.5 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.3285, allocations: 1.272 MB / 468.8 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002432/0.3309, allocations: 2.142 MB / 470.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003373/0.3343, allocations: 2.478 MB / 473.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009979/0.3443, allocations: 7.919 MB / 481.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3443, allocations: 0 / 481.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3443, allocations: 0 / 481.3 MB, free: 5.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002245/0.3445, allocations: 0 / 481.3 MB, free: 5.285 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.01466/0.3592, allocations: 5.496 MB / 486.8 MB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3592, allocations: 8.031 kB / 486.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001494/0.3607, allocations: 0.711 MB / 487.5 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.142/0.5028, allocations: 12.38 MB / 499.9 MB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009818/0.5126, allocations: 3.887 MB / 0.492 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/0.5128, allocations: 238 kB / 0.4922 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.5142, allocations: 323.8 kB / 0.4925 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.5336, allocations: 9.714 MB / 0.502 GB, free: 3.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001915/0.5338, allocations: 51.64 kB / 0.502 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005372/0.5343, allocations: 159.8 kB / 0.5022 GB, free: 3.539 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/0.5379, allocations: 1.9 MB / 0.5041 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/0.5551, allocations: 8.234 MB / 0.5121 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2792/0.8343, allocations: 37.63 MB / 0.5488 GB, free: 75.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007257/0.8416, allocations: 3.25 MB / 0.552 GB, free: 75.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/0.8435, allocations: 1.919 MB / 0.5539 GB, free: 75.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004425/0.844, allocations: 201.9 kB / 0.5541 GB, free: 75.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.844, allocations: 64.53 kB / 0.5541 GB, free: 75.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=166): time 4.629e-06/0.844, allocations: 0 / 0.5541 GB, free: 75.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=201): time 0.04857/0.8926, allocations: 20.9 MB / 0.5746 GB, free: 62.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.8927, allocations: 255.2 kB / 0.5748 GB, free: 62.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/0.8978, allocations: 4.181 MB / 0.5789 GB, free: 58.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003734/0.8982, allocations: 57.7 kB / 0.5789 GB, free: 57.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.8999, allocations: 3.242 MB / 0.5821 GB, free: 55.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008297/0.9007, allocations: 0.7934 MB / 0.5829 GB, free: 54.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/0.9021, allocations: 1.187 MB / 0.584 GB, free: 53.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.9022, allocations: 303.5 kB / 0.5843 GB, free: 52.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/0.9047, allocations: 2.276 MB / 0.5865 GB, free: 50.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004028/0.9087, allocations: 5.74 MB / 0.5921 GB, free: 43.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007275/0.916, allocations: 8.688 MB / 0.6006 GB, free: 32.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.245e-05/0.9161, allocations: 39.94 kB / 0.6007 GB, free: 32.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.01491/0.931, allocations: 9.526 MB / 0.61 GB, free: 23.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.9311, allocations: 58.53 kB / 0.61 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.9312, allocations: 127.5 kB / 0.6102 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005132/0.9363, allocations: 2.084 MB / 0.6122 GB, free: 20.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.9399, allocations: 1.255 MB / 0.6134 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/0.9577, allocations: 16.93 MB / 0.6299 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/0.963, allocations: 339.5 kB / 0.6303 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/0.9641, allocations: 356 kB / 0.6306 GB, free: 1.789 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.00429/0.9684, allocations: 2.133 MB / 0.6327 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/0.9696, allocations: 397.3 kB / 0.6331 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009178/0.9788, allocations: 4.271 MB / 0.6372 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/0.9788, allocations: 20.94 kB / 0.6373 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.9788, allocations: 11.94 kB / 0.6373 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/0.9789, allocations: 7.969 kB / 0.6373 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02128/1, allocations: 9.949 MB / 0.647 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/1, allocations: 0 / 0.647 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/1.002, allocations: 287.8 kB / 0.6473 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004273/1.006, allocations: 1.351 MB / 0.6486 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000365/1.006, allocations: 35.91 kB / 0.6486 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01469/1.021, allocations: 8.875 MB / 0.6573 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/1.021, allocations: 5.062 kB / 0.6573 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/1.035, allocations: 7.241 MB / 0.6644 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.036, allocations: 365.2 kB / 0.6647 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001129/1.037, allocations: 32 kB / 0.6648 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002585/1.04, allocations: 123.8 kB / 0.6649 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006242/1.04, allocations: 128.9 kB / 0.665 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/1.041, allocations: 52 kB / 0.665 GB, free: 14.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005606/1.046, allocations: 2.633 MB / 0.6676 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.046, allocations: 0 / 0.6676 GB, free: 11.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005963/1.052, allocations: 1.109 MB / 0.6687 GB, free: 10.57 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.01497/1.067, allocations: 7.896 MB / 0.6764 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01185/1.079, allocations: 5.824 MB / 0.6821 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.079, allocations: 0 / 0.6821 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004585/1.084, allocations: 2.062 MB / 0.6841 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.004323/1.088, allocations: 0.6003 MB / 0.6847 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09962/1.187, allocations: 49.87 MB / 0.7334 GB, free: 2.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006003/1.193, allocations: 3.389 MB / 0.7367 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005375/1.199, allocations: 1.884 MB / 0.7385 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004161/1.203, allocations: 1.975 MB / 0.7405 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of SimCode: time 2.846e-06/1.203, allocations: 0 / 0.7405 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/1.606, allocations: 88.99 MB / 0.8274 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.09/28.7, allocations: 21.03 kB / 0.8274 GB, free: 151.3 MB / 0.5606 GB " [Timeout remaining time 631] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 31.200144949834794] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 28.846826284192502 28.856201638 28.509471526 Calling exit ...