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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001397/0.001397, allocations: 105 kB / 19.74 MB, free: 2.562 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.001522/0.001522, allocations: 217.6 kB / 22.92 MB, free: 5.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 230.2 MB / 256.2 MB, free: 8.609 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.1976/0.1976, allocations: 46.88 MB / 359.3 MB, free: 4.953 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002076/0.002076, allocations: 87.84 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.256, allocations: 65.99 MB / 0.5584 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.0143/0.2703, allocations: 13.6 MB / 0.5717 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007425/0.2777, allocations: 4.207 MB / 0.5758 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.2791, allocations: 67.88 kB / 0.5759 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003301/0.2824, allocations: 1.853 MB / 0.5777 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.286, allocations: 1.853 MB / 0.5795 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2871, allocations: 0.5498 MB / 0.58 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004394/0.2915, allocations: 3.894 MB / 0.5838 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.2941, allocations: 2.045 MB / 0.5858 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.2959, allocations: 1.374 MB / 0.5872 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002732/0.2986, allocations: 2.138 MB / 0.5893 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004997/0.2991, allocations: 292 kB / 0.5895 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.3007, allocations: 1.022 MB / 0.5905 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.3022, allocations: 1.788 MB / 0.5923 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.3042, allocations: 2.104 MB / 0.5943 GB, free: 252 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006909/0.3111, allocations: 6.913 MB / 0.6011 GB, free: 9.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3111, allocations: 4 kB / 0.6011 GB, free: 9.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3111, allocations: 0 / 0.6011 GB, free: 9.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.37e-05/0.3112, allocations: 0 / 0.6011 GB, free: 9.301 MB / 446.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.00704/0.3182, allocations: 4.66 MB / 0.6056 GB, free: 4.562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3183, allocations: 8.031 kB / 0.6056 GB, free: 4.555 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000889/0.3191, allocations: 0.7697 MB / 0.6064 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.3292, allocations: 3.145 MB / 0.6095 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/0.333, allocations: 2.355 MB / 0.6118 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.3332, allocations: 221.4 kB / 0.612 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/0.3337, allocations: 283.8 kB / 0.6123 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.3482, allocations: 11.11 MB / 0.6231 GB, free: 2.133 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.092e-05/0.3483, allocations: 35.7 kB / 0.6231 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003737/0.3486, allocations: 135.8 kB / 0.6233 GB, free: 1.965 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004237/0.3529, allocations: 2.62 MB / 0.6258 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.3693, allocations: 10.37 MB / 0.636 GB, free: 4.945 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.4145, allocations: 36.55 MB / 0.6716 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008185/0.4227, allocations: 4.391 MB / 0.6759 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/0.4255, allocations: 2.227 MB / 0.6781 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.4267, allocations: 1.307 MB / 0.6794 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.4267, allocations: 56.56 kB / 0.6794 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 3.847e-06/0.4267, allocations: 0 / 0.6794 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.03651/0.4632, allocations: 17.65 MB / 0.6967 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.4633, allocations: 73.41 kB / 0.6968 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.4667, allocations: 2.747 MB / 0.6994 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/0.4668, allocations: 61.69 kB / 0.6995 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001865/0.4687, allocations: 2.886 MB / 0.7023 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008001/0.4695, allocations: 0.961 MB / 0.7032 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/0.4708, allocations: 1.072 MB / 0.7043 GB, free: 13.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.4709, allocations: 301.1 kB / 0.7046 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/0.474, allocations: 2.318 MB / 0.7068 GB, free: 10.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005245/0.4793, allocations: 5.206 MB / 0.7119 GB, free: 4.207 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009262/0.4885, allocations: 8.257 MB / 0.72 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.403e-05/0.4886, allocations: 32 kB / 0.72 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0129/0.5015, allocations: 8.275 MB / 0.7281 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.5015, allocations: 50.19 kB / 0.7282 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001034/0.5016, allocations: 100 kB / 0.7282 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.5042, allocations: 0.9492 MB / 0.7292 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2065/0.7107, allocations: 1.217 MB / 0.7304 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/0.7166, allocations: 5.135 MB / 0.7354 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/0.7195, allocations: 300.9 kB / 0.7357 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.7199, allocations: 303.2 kB / 0.736 GB, free: 149.9 MB / 0.5606 GB 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.002214/0.7221, allocations: 2.149 MB / 0.7381 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.7224, allocations: 294.6 kB / 0.7383 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006593/0.729, allocations: 5.118 MB / 0.7433 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/0.729, allocations: 50.61 kB / 0.7434 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.729, allocations: 3.75 kB / 0.7434 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.7291, allocations: 11.25 kB / 0.7434 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.742, allocations: 11.86 MB / 0.755 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.742, allocations: 8 kB / 0.755 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.7433, allocations: 401.6 kB / 0.7554 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.7453, allocations: 0.7692 MB / 0.7561 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.7454, allocations: 59.59 kB / 0.7562 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/0.7493, allocations: 4.387 MB / 0.7605 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.7493, allocations: 15.94 kB / 0.7605 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00757/0.7569, allocations: 7.635 MB / 0.7679 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003972/0.7573, allocations: 343.7 kB / 0.7683 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.7575, allocations: 43.98 kB / 0.7683 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.7586, allocations: 143.8 kB / 0.7684 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.7589, allocations: 151.9 kB / 0.7686 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.759, allocations: 83.5 kB / 0.7687 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00161/0.7606, allocations: 1.693 MB / 0.7703 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.7606, allocations: 0 / 0.7703 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002987/0.7636, allocations: 0.9594 MB / 0.7713 GB, free: 125.5 MB / 0.5606 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.007983/0.7716, allocations: 8.298 MB / 0.7794 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005831/0.7774, allocations: 5.42 MB / 0.7846 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7774, allocations: 64 / 0.7846 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001891/0.7793, allocations: 2.004 MB / 0.7866 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.781, allocations: 398.1 kB / 0.787 GB, free: 109.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/0.8197, allocations: 42.35 MB / 0.8283 GB, free: 62.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/0.8223, allocations: 3.367 MB / 0.8316 GB, free: 59.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002974/0.8252, allocations: 1.986 MB / 0.8336 GB, free: 57.13 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/0.8269, allocations: 1.831 MB / 0.8354 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.8269, allocations: 0 / 0.8354 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0811/0.908, allocations: 60.4 MB / 0.8943 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.53/20.43, allocations: 8 kB / 0.8944 GB, free: 11.14 MB / 0.5762 GB " [Timeout remaining time 639] (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.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.98332339100307]