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.001937/0.001938, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002363/0.002363, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247 MB, free: 10.4 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.276/0.276, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002486/0.002487, allocations: 83.84 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3386, allocations: 62.43 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01454/0.3531, allocations: 13.51 MB / 0.5438 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00883/0.362, allocations: 4.17 MB / 0.5479 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.3639, allocations: 71.72 kB / 0.5479 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003555/0.3676, allocations: 1.811 MB / 0.5497 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.3719, allocations: 1.81 MB / 0.5515 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.3732, allocations: 0.5458 MB / 0.552 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004928/0.3781, allocations: 3.902 MB / 0.5558 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003088/0.3812, allocations: 2.69 MB / 0.5584 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.3829, allocations: 1.359 MB / 0.5598 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.3852, allocations: 1.943 MB / 0.5617 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.3857, allocations: 292 kB / 0.5619 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.3875, allocations: 0.9869 MB / 0.5629 GB, free: 500 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.3891, allocations: 1.749 MB / 0.5646 GB, free: 14.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.3911, allocations: 2.108 MB / 0.5667 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007201/0.3983, allocations: 6.911 MB / 0.5734 GB, free: 5.672 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3983, allocations: 0 / 0.5734 GB, free: 5.672 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.177e-06/0.3983, allocations: 4 kB / 0.5734 GB, free: 5.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.00011/0.3984, allocations: 3.938 kB / 0.5734 GB, free: 5.664 MB / 430.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.0101/0.4085, allocations: 4.66 MB / 0.578 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.4086, allocations: 8.031 kB / 0.578 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001458/0.4101, allocations: 0.7697 MB / 0.5787 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.4211, allocations: 3.147 MB / 0.5818 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005289/0.4264, allocations: 2.351 MB / 0.5841 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.4267, allocations: 214.9 kB / 0.5843 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.4277, allocations: 295.8 kB / 0.5846 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0184/0.4461, allocations: 11.11 MB / 0.5955 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.4463, allocations: 27.77 kB / 0.5955 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004678/0.4468, allocations: 139.8 kB / 0.5956 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004532/0.4513, allocations: 2.62 MB / 0.5982 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.471, allocations: 10.38 MB / 0.6083 GB, free: 1.316 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05327/0.5243, allocations: 36.54 MB / 0.644 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009244/0.5336, allocations: 4.579 MB / 0.6485 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003714/0.5373, allocations: 2.399 MB / 0.6508 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.5387, allocations: 1.315 MB / 0.6521 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.5388, allocations: 56.5 kB / 0.6521 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.09e-06/0.5388, allocations: 0 / 0.6521 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04171/0.5805, allocations: 17.67 MB / 0.6694 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.5806, allocations: 73.41 kB / 0.6695 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004229/0.5849, allocations: 2.751 MB / 0.6721 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/0.5854, allocations: 57.7 kB / 0.6722 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002365/0.5877, allocations: 2.882 MB / 0.675 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.589, allocations: 0.9571 MB / 0.676 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/0.5905, allocations: 1.072 MB / 0.677 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5906, allocations: 305.1 kB / 0.6773 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/0.594, allocations: 2.314 MB / 0.6796 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005788/0.5998, allocations: 5.206 MB / 0.6846 GB, free: 220 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.611, allocations: 8.265 MB / 0.6927 GB, free: 6.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.6112, allocations: 28 kB / 0.6927 GB, free: 6.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01652/0.6277, allocations: 8.287 MB / 0.7008 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.6278, allocations: 48 kB / 0.7009 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001625/0.628, allocations: 103.9 kB / 0.701 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002929/0.6309, allocations: 0.9415 MB / 0.7019 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004272/0.6352, allocations: 1.22 MB / 0.7031 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00771/0.643, allocations: 5.133 MB / 0.7081 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/0.6466, allocations: 295.8 kB / 0.7084 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.6477, allocations: 312 kB / 0.7087 GB, free: 6.02 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.004641/0.6524, allocations: 2.147 MB / 0.7108 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007898/0.6532, allocations: 290 kB / 0.711 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/0.6634, allocations: 5.14 MB / 0.7161 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-05/0.6635, allocations: 47.98 kB / 0.7161 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.6636, allocations: 4 kB / 0.7161 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.368e-05/0.6636, allocations: 7.969 kB / 0.7161 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02442/0.688, allocations: 11.88 MB / 0.7277 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/0.6881, allocations: 8 kB / 0.7277 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/0.69, allocations: 395.4 kB / 0.7281 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002552/0.6925, allocations: 0.7813 MB / 0.7289 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/0.6928, allocations: 47.98 kB / 0.7289 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2355/0.9283, allocations: 4.379 MB / 0.7332 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.9284, allocations: 16.62 kB / 0.7332 GB, free: 175.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.9386, allocations: 7.636 MB / 0.7407 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006259/0.9393, allocations: 345.6 kB / 0.741 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/0.9397, allocations: 44 kB / 0.741 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.9409, allocations: 144.6 kB / 0.7412 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003499/0.9412, allocations: 155.6 kB / 0.7413 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001476/0.9414, allocations: 74.62 kB / 0.7414 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001974/0.9434, allocations: 1.692 MB / 0.743 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9434, allocations: 0 / 0.743 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00349/0.9469, allocations: 0.9624 MB / 0.744 GB, free: 172 MB / 0.5762 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.008848/0.9557, allocations: 8.309 MB / 0.7521 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006927/0.9627, allocations: 5.666 MB / 0.7576 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.9627, allocations: 3.719 kB / 0.7576 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/0.9653, allocations: 2.152 MB / 0.7597 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.9676, allocations: 404.6 kB / 0.7601 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05871/1.026, allocations: 42.26 MB / 0.8014 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004751/1.031, allocations: 3.371 MB / 0.8047 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004191/1.035, allocations: 1.978 MB / 0.8066 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/1.038, allocations: 1.837 MB / 0.8084 GB, free: 109.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/1.038, allocations: 0 / 0.8084 GB, free: 109.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.167, allocations: 59.63 MB / 0.8666 GB, free: 50.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.59/23.76, allocations: 4.062 kB / 0.8666 GB, free: 50.53 MB / 0.5762 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)