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.00172/0.00172, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002165/0.002165, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.5/1.5, allocations: 230.5 MB / 254.7 MB, free: 15.21 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.002136/0.002136, allocations: 67.84 kB / 373.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1119, allocations: 53.31 MB / 426.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum): time 0.2297/0.3416, allocations: 10.45 MB / 437.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008926/0.3505, allocations: 3.985 MB / 441.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.3532, allocations: 68.25 kB / 441.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005162/0.3584, allocations: 2.223 MB / 443.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006321/0.3647, allocations: 1.862 MB / 445.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.367, allocations: 0.7469 MB / 446.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00926/0.3763, allocations: 5.255 MB / 451.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005067/0.3814, allocations: 2.468 MB / 453.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/0.385, allocations: 1.487 MB / 455.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004908/0.3899, allocations: 2.212 MB / 457.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001611/0.3915, allocations: 307.5 kB / 457.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.3953, allocations: 1.209 MB / 459.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003628/0.3989, allocations: 1.893 MB / 461 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005732/0.4046, allocations: 2.182 MB / 463.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.4185, allocations: 6.989 MB / 470.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.4185, allocations: 4.875 kB / 470.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4185, allocations: 0 / 470.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003436/0.4189, allocations: 0 / 470.2 MB, free: 4.543 MB / 366.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.01906/0.4379, allocations: 5.044 MB / 475.3 MB, free: 444 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.438, allocations: 12.03 kB / 475.3 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002361/0.4403, allocations: 0.6229 MB / 475.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1495/0.5899, allocations: 12.3 MB / 488.2 MB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/0.6015, allocations: 3.715 MB / 491.9 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000234/0.6017, allocations: 205 kB / 492.1 MB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.6032, allocations: 263.8 kB / 492.4 MB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.6246, allocations: 8.738 MB / 0.4894 GB, free: 5.852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003102/0.6249, allocations: 51.59 kB / 0.4894 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/0.6263, allocations: 127.9 kB / 0.4895 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003722/0.63, allocations: 1.77 MB / 0.4913 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.6478, allocations: 7.53 MB / 0.4986 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05697/0.7048, allocations: 35.39 MB / 0.5332 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008929/0.7137, allocations: 3.578 MB / 0.5367 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/0.7169, allocations: 1.881 MB / 0.5385 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.7175, allocations: 336.5 kB / 0.5388 GB, free: 1.945 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.946e-05/0.7175, allocations: 55.55 kB / 0.5389 GB, free: 1.883 MB / 446.1 MB Notification: Performance of pre-optimization done (n=160): time 6.281e-06/0.7175, allocations: 3.938 kB / 0.5389 GB, free: 1.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=190): time 0.06233/0.7799, allocations: 20.22 MB / 0.5586 GB, free: 13.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/0.7801, allocations: 252.6 kB / 0.5589 GB, free: 13.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008964/0.789, allocations: 3.947 MB / 0.5627 GB, free: 9.336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006969/0.7897, allocations: 53.7 kB / 0.5628 GB, free: 9.277 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00354/0.7933, allocations: 2.92 MB / 0.5656 GB, free: 6.332 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/0.7947, allocations: 0.7558 MB / 0.5664 GB, free: 5.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003207/0.7979, allocations: 1.108 MB / 0.5674 GB, free: 4.453 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7981, allocations: 301.1 kB / 0.5677 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004253/0.8023, allocations: 2.162 MB / 0.5698 GB, free: 1.988 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007736/0.8101, allocations: 5.41 MB / 0.5751 GB, free: 10.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.822, allocations: 8.19 MB / 0.5831 GB, free: 1.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/0.8221, allocations: 36 kB / 0.5832 GB, free: 1.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01975/0.8418, allocations: 8.655 MB / 0.5916 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.842, allocations: 52 kB / 0.5917 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/0.8422, allocations: 112 kB / 0.5918 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00477/0.8469, allocations: 1.499 MB / 0.5932 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/0.8513, allocations: 1.22 MB / 0.5944 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/0.8681, allocations: 9.939 MB / 0.6041 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005662/0.8737, allocations: 319.6 kB / 0.6044 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001411/0.8751, allocations: 328 kB / 0.6047 GB, free: 10.89 MB / 0.5137 GB 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.005162/0.8803, allocations: 1.938 MB / 0.6066 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/0.8814, allocations: 373.5 kB / 0.607 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009468/0.8908, allocations: 4.135 MB / 0.611 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.268e-05/0.8909, allocations: 20 kB / 0.611 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.8909, allocations: 8 kB / 0.6111 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-05/0.8909, allocations: 7.969 kB / 0.6111 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2389/1.13, allocations: 9.262 MB / 0.6201 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-05/1.13, allocations: 2.094 kB / 0.6201 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.131, allocations: 270.3 kB / 0.6204 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003906/1.135, allocations: 1.345 MB / 0.6217 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/1.135, allocations: 33.14 kB / 0.6217 GB, free: 162.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/1.147, allocations: 8.944 MB / 0.6304 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.147, allocations: 2.719 kB / 0.6304 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/1.158, allocations: 7.038 MB / 0.6373 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.159, allocations: 423 kB / 0.6377 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006/1.16, allocations: 31.69 kB / 0.6378 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.162, allocations: 120.2 kB / 0.6379 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/1.162, allocations: 111.6 kB / 0.638 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/1.162, allocations: 54.09 kB / 0.638 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004342/1.166, allocations: 2.503 MB / 0.6405 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/1.166, allocations: 0 / 0.6405 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005408/1.172, allocations: 0.9966 MB / 0.6414 GB, free: 154.5 MB / 0.5137 GB 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.009447/1.181, allocations: 7.687 MB / 0.6489 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007121/1.188, allocations: 5.153 MB / 0.654 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.188, allocations: 3.812 kB / 0.654 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002776/1.191, allocations: 1.937 MB / 0.6559 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/1.194, allocations: 496.3 kB / 0.6564 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05563/1.25, allocations: 45.71 MB / 0.701 GB, free: 98.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/1.252, allocations: 3.082 MB / 0.704 GB, free: 95.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003462/1.256, allocations: 1.823 MB / 0.7058 GB, free: 93.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001886/1.258, allocations: 1.749 MB / 0.7075 GB, free: 92.14 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/1.258, allocations: 0 / 0.7075 GB, free: 92.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/1.379, allocations: 75.11 MB / 0.7808 GB, free: 17.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.72/24.1, allocations: 11.98 kB / 0.7809 GB, free: 17.57 MB / 0.5137 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 --stepSize=0.00059976 --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.666355764959008] Failed to read output from testmodel.py, exit status != 0: ['time', 'revolute1.phi', 'revolute1.w', 'revolute2.phi', 'revolute2.w'] 24.229584565851837 24.238386156 23.817438092 Calling exit ...