Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001903/0.001903, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002217/0.002217, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 247 MB, free: 10.46 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.229/0.229, allocations: 46.11 MB / 344.4 MB, free: 11.46 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.00223/0.00223, allocations: 83.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.311, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01469/0.3257, allocations: 13.46 MB / 0.5438 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009518/0.3353, allocations: 4.21 MB / 0.5479 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.3379, allocations: 68.78 kB / 0.5479 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004487/0.3424, allocations: 1.951 MB / 0.5498 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.3488, allocations: 1.899 MB / 0.5517 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.3508, allocations: 0.5537 MB / 0.5522 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006802/0.3576, allocations: 4.046 MB / 0.5562 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00445/0.3621, allocations: 2.865 MB / 0.559 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.3648, allocations: 1.44 MB / 0.5604 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003511/0.3683, allocations: 2.009 MB / 0.5623 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009084/0.3693, allocations: 304 kB / 0.5626 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.3717, allocations: 1.006 MB / 0.5636 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002192/0.374, allocations: 1.85 MB / 0.5654 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002905/0.3769, allocations: 2.24 MB / 0.5676 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009672/0.3866, allocations: 7.322 MB / 0.5748 GB, free: 4.312 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3866, allocations: 4 kB / 0.5748 GB, free: 4.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3866, allocations: 0 / 0.5748 GB, free: 4.309 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002287/0.3869, allocations: 0 / 0.5748 GB, free: 4.309 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01175/0.3986, allocations: 5.021 MB / 0.5797 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3987, allocations: 8.031 kB / 0.5797 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001556/0.4002, allocations: 0.8195 MB / 0.5805 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.4115, allocations: 3.176 MB / 0.5836 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/0.4166, allocations: 2.4 MB / 0.5859 GB, free: 8.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/0.4169, allocations: 246.2 kB / 0.5862 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.418, allocations: 311.7 kB / 0.5865 GB, free: 8.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.4396, allocations: 12.08 MB / 0.5983 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/0.4398, allocations: 39.64 kB / 0.5983 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007889/0.4406, allocations: 143.8 kB / 0.5984 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005275/0.4459, allocations: 2.847 MB / 0.6012 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/0.4718, allocations: 11.34 MB / 0.6123 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06838/0.5403, allocations: 41.12 MB / 0.6524 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.5534, allocations: 6.078 MB / 0.6584 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004616/0.5581, allocations: 3.002 MB / 0.6613 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/0.5603, allocations: 1.884 MB / 0.6631 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.5604, allocations: 56.56 kB / 0.6632 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 4.799e-06/0.5604, allocations: 3.938 kB / 0.6632 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05299/0.6134, allocations: 20.2 MB / 0.6829 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.6135, allocations: 81.41 kB / 0.683 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005172/0.6187, allocations: 3.036 MB / 0.686 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0004772/0.6192, allocations: 69.64 kB / 0.686 GB, free: 15.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002709/0.6219, allocations: 3.104 MB / 0.6891 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001546/0.6235, allocations: 1.069 MB / 0.6901 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002966/0.6264, allocations: 1.199 MB / 0.6913 GB, free: 10.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6266, allocations: 301.1 kB / 0.6916 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005134/0.6317, allocations: 2.85 MB / 0.6944 GB, free: 7.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009461/0.6412, allocations: 6.014 MB / 0.7002 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/0.6579, allocations: 9.665 MB / 0.7097 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/0.6581, allocations: 32 kB / 0.7097 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02393/0.6821, allocations: 10.03 MB / 0.7195 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.6823, allocations: 56.88 kB / 0.7196 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002869/0.6826, allocations: 116 kB / 0.7197 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004155/0.6868, allocations: 1.361 MB / 0.721 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005685/0.6925, allocations: 1.369 MB / 0.7223 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3032/0.9958, allocations: 7.819 MB / 0.73 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004769/1.001, allocations: 359.2 kB / 0.7303 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/1.002, allocations: 344 kB / 0.7306 GB, free: 173.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (718): * Single equations (assignments): 711 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004622/1.007, allocations: 2.299 MB / 0.7329 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006653/1.007, allocations: 317.2 kB / 0.7332 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.018, allocations: 6.622 MB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.129e-05/1.018, allocations: 50.36 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.018, allocations: 4.844 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/1.018, allocations: 12.64 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/1.037, allocations: 13.89 MB / 0.7533 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.037, allocations: 5.812 kB / 0.7533 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.038, allocations: 454.5 kB / 0.7537 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002896/1.041, allocations: 1.214 MB / 0.7549 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003229/1.042, allocations: 51.81 kB / 0.755 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006768/1.049, allocations: 7.024 MB / 0.7618 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.049, allocations: 7.938 kB / 0.7618 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.06, allocations: 9.879 MB / 0.7715 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007403/1.061, allocations: 371.5 kB / 0.7718 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008514/1.062, allocations: 55.75 kB / 0.7719 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/1.064, allocations: 191.4 kB / 0.7721 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000614/1.065, allocations: 165.6 kB / 0.7722 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003566/1.065, allocations: 75.81 kB / 0.7723 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002379/1.067, allocations: 1.878 MB / 0.7741 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/1.067, allocations: 0 / 0.7741 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005089/1.073, allocations: 1.102 MB / 0.7752 GB, free: 146.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * 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,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01426/1.087, allocations: 10.55 MB / 0.7855 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009485/1.096, allocations: 6.987 MB / 0.7923 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/1.096, allocations: 0 / 0.7923 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00435/1.101, allocations: 2.865 MB / 0.7951 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/1.104, allocations: 415.6 kB / 0.7955 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06796/1.172, allocations: 49.01 MB / 0.8434 GB, free: 71.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005021/1.177, allocations: 3.567 MB / 0.8469 GB, free: 68.36 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004798/1.182, allocations: 2.196 MB / 0.849 GB, free: 66.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003194/1.185, allocations: 2.069 MB / 0.851 GB, free: 64.09 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/1.185, allocations: 0 / 0.851 GB, free: 64.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/1.312, allocations: 70.07 MB / 0.9194 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23/24.32, allocations: 4.578 kB / 0.9195 GB, free: 10.32 MB / 0.5919 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal_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_Universal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)