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.DoublePendulum.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.001244/0.001244, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001435/0.001435, allocations: 217 kB / 23 MB, free: 5.617 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.434/1.434, allocations: 230.4 MB / 256.5 MB, free: 8.254 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.DoublePendulum,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum",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.001934/0.001934, allocations: 68.03 kB / 376.2 MB, free: 4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.26, allocations: 53.33 MB / 429.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.01246/0.2725, allocations: 10.46 MB / 440 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008947/0.2814, allocations: 4.015 MB / 444 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002067/0.2835, allocations: 67.81 kB / 444.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004751/0.2882, allocations: 2.231 MB / 446.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005698/0.2939, allocations: 1.872 MB / 448.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.296, allocations: 0.7487 MB / 448.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008137/0.3041, allocations: 5.246 MB / 454.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/0.3074, allocations: 2.167 MB / 456.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002642/0.31, allocations: 1.483 MB / 457.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003173/0.3132, allocations: 2.204 MB / 460 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006482/0.3139, allocations: 300 kB / 460.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.3161, allocations: 1.213 MB / 461.5 MB, free: 7.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001975/0.3181, allocations: 1.897 MB / 463.4 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002551/0.3206, allocations: 2.187 MB / 465.6 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008542/0.3292, allocations: 6.989 MB / 472.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3292, allocations: 3.938 kB / 472.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3292, allocations: 0 / 472.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001556/0.3293, allocations: 0 / 472.6 MB, free: 12.25 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.01353/0.3429, allocations: 5.038 MB / 477.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3429, allocations: 8.031 kB / 477.7 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001124/0.344, allocations: 0.6284 MB / 478.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1683/0.5124, allocations: 12.3 MB / 490.6 MB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009002/0.5214, allocations: 3.719 MB / 494.3 MB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.5216, allocations: 205 kB / 494.5 MB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008402/0.5224, allocations: 263.8 kB / 494.8 MB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01539/0.5378, allocations: 8.742 MB / 0.4917 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.538, allocations: 47.59 kB / 0.4917 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003882/0.5383, allocations: 123.9 kB / 0.4919 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003209/0.5416, allocations: 1.774 MB / 0.4936 GB, free: 10.6 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.5565, allocations: 7.526 MB / 0.5009 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.263/0.8195, allocations: 35.4 MB / 0.5355 GB, free: 93.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007642/0.8271, allocations: 3.565 MB / 0.539 GB, free: 92.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.8293, allocations: 1.895 MB / 0.5409 GB, free: 92.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003274/0.8296, allocations: 335.8 kB / 0.5412 GB, free: 92.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.8296, allocations: 50.81 kB / 0.5412 GB, free: 92.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 4.358e-06/0.8296, allocations: 0 / 0.5412 GB, free: 92.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.04594/0.8756, allocations: 20.2 MB / 0.561 GB, free: 83.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.8757, allocations: 260.5 kB / 0.5612 GB, free: 83.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004504/0.8802, allocations: 3.947 MB / 0.5651 GB, free: 79.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003308/0.8805, allocations: 52.98 kB / 0.5651 GB, free: 79.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.8818, allocations: 2.922 MB / 0.568 GB, free: 76.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006015/0.8824, allocations: 0.7493 MB / 0.5687 GB, free: 75.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.8835, allocations: 1.112 MB / 0.5698 GB, free: 74.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.759e-05/0.8836, allocations: 301.1 kB / 0.5701 GB, free: 74.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.8859, allocations: 2.17 MB / 0.5722 GB, free: 72.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.8893, allocations: 5.396 MB / 0.5775 GB, free: 65.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006393/0.8957, allocations: 8.202 MB / 0.5855 GB, free: 55.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.627e-05/0.8957, allocations: 36.75 kB / 0.5855 GB, free: 55.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01198/0.9077, allocations: 8.65 MB / 0.5939 GB, free: 46.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.9077, allocations: 52.97 kB / 0.594 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.017e-05/0.9078, allocations: 112 kB / 0.5941 GB, free: 46.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/0.9113, allocations: 1.5 MB / 0.5956 GB, free: 45.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/0.9144, allocations: 1.228 MB / 0.5968 GB, free: 43.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.9246, allocations: 9.943 MB / 0.6065 GB, free: 33.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003847/0.9285, allocations: 319.8 kB / 0.6068 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005278/0.929, allocations: 332 kB / 0.6071 GB, free: 33.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 515 * Number of states: 0 () * Number of discrete variables: 30 (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 (650): * Single equations (assignments): 646 * 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 {(2,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002288/0.9313, allocations: 1.947 MB / 0.609 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005951/0.9319, allocations: 373.5 kB / 0.6094 GB, free: 30.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006455/0.9383, allocations: 4.12 MB / 0.6134 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.9384, allocations: 23.94 kB / 0.6134 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.9384, allocations: 12 kB / 0.6134 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.9384, allocations: 7.969 kB / 0.6134 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.9514, allocations: 9.256 MB / 0.6225 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.9514, allocations: 0 / 0.6225 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.9526, allocations: 271.5 kB / 0.6227 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003407/0.956, allocations: 1.343 MB / 0.624 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.9562, allocations: 35.98 kB / 0.6241 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009997/0.9662, allocations: 8.943 MB / 0.6328 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9662, allocations: 3.938 kB / 0.6328 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009289/0.9755, allocations: 7.044 MB / 0.6397 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009925/0.9765, allocations: 422.5 kB / 0.6401 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000366/0.9768, allocations: 36 kB / 0.6401 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.9783, allocations: 120.9 kB / 0.6402 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/0.9787, allocations: 109.1 kB / 0.6403 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.9788, allocations: 48 kB / 0.6404 GB, free: 14.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003741/0.9826, allocations: 2.501 MB / 0.6428 GB, free: 12.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9826, allocations: 0 / 0.6428 GB, free: 12.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004338/0.9869, allocations: 0.996 MB / 0.6438 GB, free: 11.45 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 (136): * Single equations (assignments): 132 * 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 {(4,31,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0122/0.9991, allocations: 7.681 MB / 0.6513 GB, free: 3.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009265/1.008, allocations: 5.168 MB / 0.6563 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.008, allocations: 0 / 0.6563 GB, free: 14.58 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003582/1.012, allocations: 1.933 MB / 0.6582 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/1.015, allocations: 0.4884 MB / 0.6587 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07913/1.094, allocations: 45.8 MB / 0.7034 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004012/1.098, allocations: 3.087 MB / 0.7064 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004296/1.102, allocations: 1.827 MB / 0.7082 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002901/1.105, allocations: 1.745 MB / 0.7099 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of SimCode: time 1.392e-06/1.105, allocations: 0 / 0.7099 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3424/1.448, allocations: 75.58 MB / 0.7837 GB, free: 171.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.34/23.79, allocations: 0.5625 kB / 0.7837 GB, free: 171.8 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.147071098006563] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 23.920624013000634 23.934917722 23.602244807 Calling exit ...