Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001425/0.001425, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002235/0.002235, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",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.001999/0.001999, allocations: 64.78 kB / 378.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2677, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01604/0.2837, allocations: 13.54 MB / 445.5 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01139/0.2951, allocations: 4.936 MB / 450.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.2974, allocations: 107.4 kB / 450.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008267/0.3057, allocations: 4.237 MB / 454.7 MB, free: 12 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006501/0.3122, allocations: 2.175 MB / 456.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.3154, allocations: 1.11 MB / 458 MB, free: 12.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.3258, allocations: 6.076 MB / 464.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007728/0.3335, allocations: 4.054 MB / 468.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.3385, allocations: 2.193 MB / 470.3 MB, free: 324 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006507/0.345, allocations: 3.088 MB / 473.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.347, allocations: 500 kB / 473.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004477/0.3515, allocations: 1.67 MB / 475.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004322/0.3558, allocations: 2.657 MB / 478.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005848/0.3616, allocations: 2.945 MB / 481.2 MB, free: 5.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.3759, allocations: 9.66 MB / 490.9 MB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3759, allocations: 0 / 490.9 MB, free: 11.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3759, allocations: 0 / 490.9 MB, free: 11.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003842/0.3763, allocations: 4 kB / 490.9 MB, free: 11.73 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01815/0.3944, allocations: 6.28 MB / 497.1 MB, free: 5.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3945, allocations: 8.031 kB / 497.1 MB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002784/0.3973, allocations: 0.9325 MB / 498.1 MB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03585/0.4331, allocations: 6.051 MB / 0.4923 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.4437, allocations: 4.175 MB / 0.4964 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/0.4441, allocations: 312.1 kB / 0.4967 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/0.446, allocations: 447.7 kB / 0.4971 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02895/0.4749, allocations: 12.32 MB / 0.5091 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.4752, allocations: 47.64 kB / 0.5092 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/0.4765, allocations: 187.9 kB / 0.5094 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00364/0.4802, allocations: 2.035 MB / 0.5114 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/0.5045, allocations: 10.37 MB / 0.5215 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3008/0.8053, allocations: 43.83 MB / 0.5643 GB, free: 68.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.8167, allocations: 4.211 MB / 0.5684 GB, free: 67.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.8191, allocations: 1.843 MB / 0.5702 GB, free: 66.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.8293, allocations: 6.069 MB / 0.5761 GB, free: 63.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.8293, allocations: 56.62 kB / 0.5762 GB, free: 63.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.258e-06/0.8294, allocations: 2.719 kB / 0.5762 GB, free: 63.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06224/0.8916, allocations: 19.17 MB / 0.5949 GB, free: 47.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.8917, allocations: 205.9 kB / 0.5951 GB, free: 47.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006106/0.8978, allocations: 4.493 MB / 0.5995 GB, free: 42.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004067/0.8982, allocations: 57.7 kB / 0.5995 GB, free: 42.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.8997, allocations: 3.696 MB / 0.6032 GB, free: 39.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007031/0.9004, allocations: 0.8746 MB / 0.604 GB, free: 38.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/0.9018, allocations: 1.271 MB / 0.6052 GB, free: 37.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.9018, allocations: 309 kB / 0.6055 GB, free: 37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.9045, allocations: 2.226 MB / 0.6077 GB, free: 34.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003937/0.9084, allocations: 5.987 MB / 0.6136 GB, free: 26.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007543/0.916, allocations: 8.922 MB / 0.6223 GB, free: 16.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.398e-05/0.9161, allocations: 36 kB / 0.6223 GB, free: 16.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01484/0.9309, allocations: 9.056 MB / 0.6312 GB, free: 7.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.931, allocations: 68.2 kB / 0.6312 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001194/0.9311, allocations: 132 kB / 0.6313 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/0.9346, allocations: 1.199 MB / 0.6325 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004288/0.9389, allocations: 1.419 MB / 0.6339 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.9503, allocations: 7.897 MB / 0.6416 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005074/0.9554, allocations: 347.4 kB / 0.6419 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/0.9567, allocations: 380 kB / 0.6423 GB, free: 11.54 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (766): * Single equations (assignments): 762 * 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 {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006051/0.9627, allocations: 2.49 MB / 0.6447 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.9637, allocations: 421.2 kB / 0.6451 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008803/0.9726, allocations: 3.873 MB / 0.6489 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-05/0.9726, allocations: 26.06 kB / 0.6489 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.9726, allocations: 8 kB / 0.649 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.346e-05/0.9727, allocations: 15.89 kB / 0.649 GB, free: 4.688 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02457/0.9972, allocations: 9.904 MB / 0.6586 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.943e-05/0.9973, allocations: 12.08 kB / 0.6587 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.999, allocations: 323.5 kB / 0.659 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003682/1.003, allocations: 0.9863 MB / 0.6599 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00037/1.003, allocations: 47.92 kB / 0.66 GB, free: 9.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/1.014, allocations: 6.59 MB / 0.6664 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.014, allocations: 12.06 kB / 0.6664 GB, free: 2.609 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/1.028, allocations: 6.62 MB / 0.6729 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.03, allocations: 393 kB / 0.6733 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.031, allocations: 40 kB / 0.6733 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/1.033, allocations: 118.2 kB / 0.6734 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/1.034, allocations: 145 kB / 0.6735 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.034, allocations: 67.98 kB / 0.6736 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006243/1.04, allocations: 2.824 MB / 0.6764 GB, free: 8.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.04, allocations: 0 / 0.6764 GB, free: 8.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007709/1.048, allocations: 1.156 MB / 0.6775 GB, free: 7.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (173): * Single equations (assignments): 169 * 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 {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01568/1.063, allocations: 7.337 MB / 0.6847 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01096/1.074, allocations: 5.329 MB / 0.6899 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.074, allocations: 0 / 0.6899 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003563/1.078, allocations: 1.708 MB / 0.6915 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005073/1.083, allocations: 0.5726 MB / 0.6921 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3551/1.438, allocations: 51.55 MB / 0.7424 GB, free: 196.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005577/1.444, allocations: 3.872 MB / 0.7462 GB, free: 196 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004387/1.448, allocations: 1.942 MB / 0.7481 GB, free: 196 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002793/1.451, allocations: 2.286 MB / 0.7503 GB, free: 195.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.273e-06/1.451, allocations: 0 / 0.7503 GB, free: 195.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1416/1.593, allocations: 89.44 MB / 0.8377 GB, free: 115.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.59/29.18, allocations: 11.52 kB / 0.8377 GB, free: 115.4 MB / 0.545 GB " [Timeout remaining time 631] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 31.736507778055966] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 29.32661230582744 29.345693182 28.965507483 Calling exit ...