Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2381/0.2381, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Warning: Requested package Modelica 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.003523/0.003523, allocations: 83.59 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1525, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01582/0.1684, allocations: 13.51 MB / 493.7 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009854/0.1783, allocations: 4.174 MB / 497.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.1807, allocations: 67.88 kB / 498 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.1852, allocations: 1.806 MB / 499.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.1907, allocations: 1.81 MB / 0.4898 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.1925, allocations: 0.5536 MB / 0.4904 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00616/0.1987, allocations: 3.886 MB / 0.4942 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004305/0.203, allocations: 2.701 MB / 0.4968 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.2057, allocations: 1.362 MB / 0.4981 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/0.209, allocations: 1.939 MB / 0.5 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.2101, allocations: 292 kB / 0.5003 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.2129, allocations: 0.9908 MB / 0.5013 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002495/0.2154, allocations: 1.745 MB / 0.503 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2102/0.4256, allocations: 2.101 MB / 0.505 GB, free: 17.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.4362, allocations: 6.592 MB / 0.5115 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4362, allocations: 2.375 kB / 0.5115 GB, free: 16.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4363, allocations: 0 / 0.5115 GB, free: 16.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002773/0.4365, allocations: 0 / 0.5115 GB, free: 16.75 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01565/0.4522, allocations: 4.534 MB / 0.5159 GB, free: 14.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4523, allocations: 11.09 kB / 0.5159 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00216/0.4544, allocations: 0.7606 MB / 0.5166 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.4655, allocations: 3.124 MB / 0.5197 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006105/0.4716, allocations: 2.329 MB / 0.522 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.4719, allocations: 215.8 kB / 0.5222 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.4737, allocations: 288.2 kB / 0.5224 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/0.4961, allocations: 11.11 MB / 0.5333 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.4963, allocations: 32.08 kB / 0.5333 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008718/0.4972, allocations: 133.5 kB / 0.5334 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004093/0.5013, allocations: 2.622 MB / 0.536 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.5193, allocations: 10.38 MB / 0.5461 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05831/0.5776, allocations: 36.69 MB / 0.582 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.5882, allocations: 4.572 MB / 0.5864 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003961/0.5922, allocations: 2.4 MB / 0.5888 GB, free: 4.734 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/0.5939, allocations: 1.322 MB / 0.5901 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.5939, allocations: 60.5 kB / 0.5901 GB, free: 3.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 6.081e-06/0.5939, allocations: 0 / 0.5901 GB, free: 3.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.04247/0.6364, allocations: 17.58 MB / 0.6073 GB, free: 1.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.6365, allocations: 73.41 kB / 0.6074 GB, free: 1.434 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/0.6408, allocations: 2.735 MB / 0.61 GB, free: 14.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004492/0.6413, allocations: 65.7 kB / 0.6101 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/0.6435, allocations: 2.774 MB / 0.6128 GB, free: 11.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001272/0.6447, allocations: 0.9102 MB / 0.6137 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001761/0.6465, allocations: 1.064 MB / 0.6147 GB, free: 9.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.6467, allocations: 308.6 kB / 0.615 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003748/0.6504, allocations: 2.306 MB / 0.6173 GB, free: 7.246 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006482/0.6569, allocations: 5.215 MB / 0.6224 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/0.6686, allocations: 8.252 MB / 0.6304 GB, free: 7.418 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.799e-05/0.6687, allocations: 28 kB / 0.6305 GB, free: 7.391 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01881/0.6875, allocations: 8.278 MB / 0.6385 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.6876, allocations: 48 kB / 0.6386 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/0.6878, allocations: 104.1 kB / 0.6387 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.6907, allocations: 0.9494 MB / 0.6396 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004792/0.6955, allocations: 1.213 MB / 0.6408 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008129/0.7037, allocations: 5.14 MB / 0.6458 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/0.7085, allocations: 291.8 kB / 0.6461 GB, free: 7.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001641/0.7102, allocations: 308 kB / 0.6464 GB, free: 7.418 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 646 * Array equations: 6 * 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,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005396/0.7156, allocations: 2.149 MB / 0.6485 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008894/0.7165, allocations: 276.4 kB / 0.6488 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009976/0.7265, allocations: 5.128 MB / 0.6538 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.288e-05/0.7266, allocations: 43.98 kB / 0.6538 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.7266, allocations: 4 kB / 0.6538 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.7267, allocations: 7.969 kB / 0.6538 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0223/0.749, allocations: 11.92 MB / 0.6655 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.749, allocations: 8.969 kB / 0.6655 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.7508, allocations: 395.4 kB / 0.6658 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.7534, allocations: 0.7887 MB / 0.6666 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.7536, allocations: 48 kB / 0.6667 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006379/0.76, allocations: 4.383 MB / 0.6709 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.7601, allocations: 20 kB / 0.671 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.7733, allocations: 7.619 MB / 0.6784 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009754/0.7743, allocations: 321.6 kB / 0.6787 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000442/0.7748, allocations: 47.98 kB / 0.6788 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/0.7761, allocations: 155.4 kB / 0.6789 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/0.7765, allocations: 152.9 kB / 0.679 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/0.7768, allocations: 72 kB / 0.6791 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003305/0.7801, allocations: 1.697 MB / 0.6808 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.7801, allocations: 3.938 kB / 0.6808 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005208/0.7853, allocations: 0.9679 MB / 0.6817 GB, free: 2.723 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0131/0.7984, allocations: 8.282 MB / 0.6898 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01672/0.8152, allocations: 9.094 MB / 0.6987 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.8152, allocations: 0 / 0.6987 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003744/0.819, allocations: 2.149 MB / 0.7008 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.8216, allocations: 406.9 kB / 0.7012 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2872/1.109, allocations: 45.34 MB / 0.7455 GB, free: 179.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003215/1.112, allocations: 3.368 MB / 0.7487 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004212/1.116, allocations: 1.981 MB / 0.7507 GB, free: 176.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002494/1.119, allocations: 1.839 MB / 0.7525 GB, free: 174.7 MB / 0.545 GB Notification: Performance of SimCode: time 9.62e-07/1.119, allocations: 0 / 0.7525 GB, free: 174.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.222, allocations: 62.47 MB / 0.8135 GB, free: 112.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.71, allocations: 0 / 0.8135 GB, free: 112.5 MB / 0.545 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1)