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.001348/0.001348, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2401/0.2401, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002235/0.002235, allocations: 81.02 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1303, allocations: 62.47 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01699/0.1474, allocations: 13.5 MB / 493.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009617/0.157, allocations: 4.174 MB / 497.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.1595, allocations: 67.88 kB / 498 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003873/0.1634, allocations: 1.814 MB / 499.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005585/0.169, allocations: 1.798 MB / 0.4898 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1707, allocations: 0.5652 MB / 0.4904 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005974/0.1767, allocations: 3.889 MB / 0.4942 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003844/0.1805, allocations: 2.689 MB / 0.4968 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.1831, allocations: 1.359 MB / 0.4981 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002833/0.1859, allocations: 1.947 MB / 0.5 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006676/0.1866, allocations: 292 kB / 0.5003 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.1887, allocations: 0.9908 MB / 0.5013 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.1906, allocations: 1.749 MB / 0.503 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.1932, allocations: 2.108 MB / 0.505 GB, free: 16 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2396/0.4328, allocations: 6.585 MB / 0.5115 GB, free: 16.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.4329, allocations: 1.25 kB / 0.5115 GB, free: 16.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.4329, allocations: 0 / 0.5115 GB, free: 16.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003768/0.4333, allocations: 0.7031 kB / 0.5115 GB, free: 16.8 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.0192/0.4525, allocations: 4.536 MB / 0.5159 GB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4526, allocations: 8.75 kB / 0.5159 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002781/0.4554, allocations: 0.7655 MB / 0.5166 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.4672, allocations: 3.123 MB / 0.5197 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005845/0.4731, allocations: 2.319 MB / 0.522 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.4734, allocations: 219.3 kB / 0.5222 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00154/0.4749, allocations: 293.3 kB / 0.5225 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02013/0.4951, allocations: 11.11 MB / 0.5333 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.4953, allocations: 25.81 kB / 0.5333 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009062/0.4962, allocations: 136.8 kB / 0.5335 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004295/0.5005, allocations: 2.625 MB / 0.536 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.5206, allocations: 10.37 MB / 0.5461 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06611/0.5868, allocations: 36.69 MB / 0.582 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.5978, allocations: 4.57 MB / 0.5864 GB, free: 7.125 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004208/0.6021, allocations: 2.4 MB / 0.5888 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00187/0.604, allocations: 1.318 MB / 0.5901 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.794e-05/0.6041, allocations: 56.5 kB / 0.5901 GB, free: 3.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=242): time 7.644e-06/0.6041, allocations: 0 / 0.5901 GB, free: 3.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=254): time 0.0468/0.6509, allocations: 17.58 MB / 0.6073 GB, free: 1.527 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/0.651, allocations: 76.41 kB / 0.6074 GB, free: 1.441 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004739/0.6558, allocations: 2.744 MB / 0.6101 GB, free: 14.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004548/0.6562, allocations: 53.7 kB / 0.6101 GB, free: 14.63 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002221/0.6585, allocations: 2.774 MB / 0.6128 GB, free: 11.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.6598, allocations: 0.9173 MB / 0.6137 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001838/0.6617, allocations: 1.07 MB / 0.6148 GB, free: 9.867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.6618, allocations: 304.6 kB / 0.615 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/0.6656, allocations: 2.306 MB / 0.6173 GB, free: 7.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006587/0.6722, allocations: 5.209 MB / 0.6224 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/0.6843, allocations: 8.259 MB / 0.6304 GB, free: 7.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/0.6845, allocations: 32 kB / 0.6305 GB, free: 7.398 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01899/0.7035, allocations: 8.27 MB / 0.6386 GB, free: 15.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.7036, allocations: 48 kB / 0.6386 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002021/0.7039, allocations: 100 kB / 0.6387 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/0.7071, allocations: 0.9456 MB / 0.6396 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00513/0.7123, allocations: 1.22 MB / 0.6408 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008312/0.7206, allocations: 5.141 MB / 0.6458 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.7247, allocations: 302.9 kB / 0.6461 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/0.7258, allocations: 300 kB / 0.6464 GB, free: 7.441 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.005125/0.7309, allocations: 2.149 MB / 0.6485 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007973/0.7318, allocations: 280.4 kB / 0.6488 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.7422, allocations: 5.124 MB / 0.6538 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.401e-05/0.7423, allocations: 47.98 kB / 0.6538 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.7423, allocations: 4 kB / 0.6538 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/0.7423, allocations: 7.969 kB / 0.6538 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/0.7667, allocations: 11.92 MB / 0.6655 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.7668, allocations: 12 kB / 0.6655 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/0.7686, allocations: 399.3 kB / 0.6659 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.7713, allocations: 0.7697 MB / 0.6666 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003113/0.7716, allocations: 51.98 kB / 0.6667 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006686/0.7783, allocations: 4.39 MB / 0.671 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-05/0.7784, allocations: 15.94 kB / 0.671 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/0.7928, allocations: 7.617 MB / 0.6784 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008664/0.7937, allocations: 325.6 kB / 0.6787 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008117/0.7946, allocations: 55.5 kB / 0.6788 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/0.7964, allocations: 143.8 kB / 0.6789 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005628/0.797, allocations: 156.8 kB / 0.6791 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002995/0.7973, allocations: 71.98 kB / 0.6791 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003864/0.8012, allocations: 1.689 MB / 0.6808 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8012, allocations: 0 / 0.6808 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005831/0.807, allocations: 0.963 MB / 0.6817 GB, free: 2.758 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.01469/0.8217, allocations: 8.297 MB / 0.6898 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01709/0.8388, allocations: 9.086 MB / 0.6987 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/0.8389, allocations: 4 kB / 0.6987 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/0.843, allocations: 2.148 MB / 0.7008 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/0.846, allocations: 399.5 kB / 0.7012 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2689/1.115, allocations: 45.34 MB / 0.7454 GB, free: 179.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004043/1.119, allocations: 3.367 MB / 0.7487 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004396/1.123, allocations: 1.989 MB / 0.7507 GB, free: 176.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003178/1.127, allocations: 1.835 MB / 0.7525 GB, free: 174.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/1.127, allocations: 0 / 0.7525 GB, free: 174.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0943/1.221, allocations: 62.47 MB / 0.8135 GB, free: 112.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.62, allocations: 13.77 kB / 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 & /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)