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.7 kB / 19.74 MB, free: 2.453 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.001549/0.001549, allocations: 214.8 kB / 22.92 MB, free: 5.191 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.286/1.286, allocations: 230.2 MB / 256.2 MB, free: 8.566 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.1971/0.1971, allocations: 46.89 MB / 359.3 MB, free: 4.949 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.002193/0.002193, allocations: 76.16 kB / 0.494 GB, free: 9.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2513, allocations: 65.99 MB / 0.5584 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01388/0.2651, allocations: 13.59 MB / 0.5717 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007498/0.2726, allocations: 4.203 MB / 0.5758 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.2741, allocations: 67.88 kB / 0.5759 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0035/0.2776, allocations: 1.853 MB / 0.5777 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003899/0.2815, allocations: 1.856 MB / 0.5795 GB, free: 15.51 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.2828, allocations: 0.542 MB / 0.58 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004691/0.2875, allocations: 3.906 MB / 0.5838 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.2901, allocations: 2.045 MB / 0.5858 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.292, allocations: 1.378 MB / 0.5872 GB, free: 7.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.2944, allocations: 2.13 MB / 0.5893 GB, free: 5.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004769/0.2949, allocations: 292 kB / 0.5895 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001666/0.2966, allocations: 1.026 MB / 0.5905 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001479/0.298, allocations: 1.792 MB / 0.5923 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.2999, allocations: 2.1 MB / 0.5943 GB, free: 224 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006724/0.3066, allocations: 6.913 MB / 0.6011 GB, free: 9.273 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3066, allocations: 0 / 0.6011 GB, free: 9.273 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3066, allocations: 4 kB / 0.6011 GB, free: 9.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.735e-05/0.3067, allocations: 0 / 0.6011 GB, free: 9.27 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.007082/0.3138, allocations: 4.66 MB / 0.6056 GB, free: 4.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3138, allocations: 8.031 kB / 0.6056 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008442/0.3147, allocations: 0.7697 MB / 0.6064 GB, free: 3.742 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.3248, allocations: 3.153 MB / 0.6095 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.3288, allocations: 2.343 MB / 0.6118 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/0.3289, allocations: 221.6 kB / 0.612 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005423/0.3295, allocations: 295.8 kB / 0.6123 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.3455, allocations: 11.11 MB / 0.6231 GB, free: 2.102 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/0.3455, allocations: 39.69 kB / 0.6231 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/0.3459, allocations: 131.8 kB / 0.6233 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004216/0.3502, allocations: 2.617 MB / 0.6258 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.3679, allocations: 10.38 MB / 0.636 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04657/0.4145, allocations: 36.54 MB / 0.6716 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008439/0.423, allocations: 4.391 MB / 0.6759 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003083/0.426, allocations: 2.224 MB / 0.6781 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.4273, allocations: 1.319 MB / 0.6794 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4273, allocations: 52.56 kB / 0.6794 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.431e-06/0.4273, allocations: 4 kB / 0.6794 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.03758/0.4649, allocations: 17.65 MB / 0.6967 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.4649, allocations: 69.41 kB / 0.6968 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.4685, allocations: 2.743 MB / 0.6994 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002685/0.4688, allocations: 65.64 kB / 0.6995 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/0.4709, allocations: 2.886 MB / 0.7023 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/0.4719, allocations: 0.9532 MB / 0.7032 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/0.4733, allocations: 1.076 MB / 0.7043 GB, free: 13.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4734, allocations: 309.1 kB / 0.7046 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/0.4765, allocations: 2.31 MB / 0.7068 GB, free: 10.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005257/0.4818, allocations: 5.206 MB / 0.7119 GB, free: 4.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009389/0.4911, allocations: 8.257 MB / 0.72 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.085e-05/0.4912, allocations: 35.92 kB / 0.72 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01352/0.5047, allocations: 8.267 MB / 0.7281 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-05/0.5048, allocations: 54.17 kB / 0.7282 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.981e-05/0.5049, allocations: 108 kB / 0.7283 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/0.5075, allocations: 0.9455 MB / 0.7292 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1993/0.7068, allocations: 1.21 MB / 0.7304 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00615/0.7129, allocations: 5.145 MB / 0.7354 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/0.7159, allocations: 293.1 kB / 0.7357 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004964/0.7164, allocations: 311.1 kB / 0.736 GB, free: 150 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.00233/0.7187, allocations: 2.148 MB / 0.7381 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.7191, allocations: 298.8 kB / 0.7383 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006822/0.7259, allocations: 5.116 MB / 0.7433 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/0.7259, allocations: 46.67 kB / 0.7434 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.7259, allocations: 3.906 kB / 0.7434 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.726, allocations: 9.219 kB / 0.7434 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/0.7404, allocations: 11.85 MB / 0.755 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.7404, allocations: 14.73 kB / 0.755 GB, free: 141.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.7419, allocations: 400.5 kB / 0.7554 GB, free: 141.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002021/0.7439, allocations: 0.7756 MB / 0.7561 GB, free: 141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.7441, allocations: 51.91 kB / 0.7562 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004048/0.7481, allocations: 4.383 MB / 0.7605 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.984e-06/0.7482, allocations: 19.66 kB / 0.7605 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00794/0.7561, allocations: 7.629 MB / 0.7679 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/0.7566, allocations: 347.4 kB / 0.7683 GB, free: 128.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/0.7569, allocations: 47.83 kB / 0.7683 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.7581, allocations: 147.8 kB / 0.7684 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/0.7584, allocations: 153.2 kB / 0.7686 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.7585, allocations: 72 kB / 0.7687 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001685/0.7602, allocations: 1.691 MB / 0.7703 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.7602, allocations: 0 / 0.7703 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003323/0.7635, allocations: 0.9668 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.008207/0.7717, allocations: 8.297 MB / 0.7794 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005781/0.7775, allocations: 5.429 MB / 0.7847 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.7775, allocations: 4 kB / 0.7847 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.7794, allocations: 1.989 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.001789/0.7812, allocations: 394.4 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.04128/0.8225, allocations: 42.36 MB / 0.8283 GB, free: 62.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00267/0.8252, allocations: 3.375 MB / 0.8316 GB, free: 59.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003083/0.8283, allocations: 1.974 MB / 0.8336 GB, free: 57.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001871/0.8301, allocations: 1.835 MB / 0.8354 GB, free: 55.28 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.8301, allocations: 0 / 0.8354 GB, free: 55.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08449/0.9146, allocations: 60.4 MB / 0.8943 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.29/20.2, allocations: 7.219 kB / 0.8944 GB, free: 11.12 MB / 0.5762 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.730930195000838]