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.001782/0.001782, 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.002231/0.002231, 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.47/1.47, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2565/0.2565, allocations: 46.11 MB / 344.2 MB, free: 11.59 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.002205/0.002205, allocations: 86 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1127, allocations: 62.44 MB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01578/0.1285, allocations: 13.45 MB / 493.7 MB, free: 7.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.1387, allocations: 4.213 MB / 497.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.1421, allocations: 67.88 kB / 497.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004973/0.1472, allocations: 1.966 MB / 499.9 MB, free: 1.379 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005936/0.1531, allocations: 1.883 MB / 0.49 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.155, allocations: 0.5498 MB / 0.4906 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006387/0.1614, allocations: 4.045 MB / 0.4945 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004537/0.166, allocations: 2.862 MB / 0.4973 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.1686, allocations: 1.433 MB / 0.4987 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/0.1719, allocations: 2.013 MB / 0.5007 GB, free: 4.512 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009051/0.1728, allocations: 308 kB / 0.501 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.175, allocations: 0.9986 MB / 0.5019 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.177, allocations: 1.858 MB / 0.5038 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2172/0.3942, allocations: 2.232 MB / 0.5059 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.4059, allocations: 6.974 MB / 0.5127 GB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.406, allocations: 1.031 kB / 0.5127 GB, free: 15.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.406, allocations: 0 / 0.5127 GB, free: 15.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003082/0.4063, allocations: 0.9062 kB / 0.5127 GB, free: 15.04 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01472/0.421, allocations: 4.896 MB / 0.5175 GB, free: 13.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4211, allocations: 10.72 kB / 0.5175 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002013/0.4231, allocations: 0.8171 MB / 0.5183 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.4347, allocations: 3.146 MB / 0.5214 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007467/0.4422, allocations: 2.381 MB / 0.5237 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/0.4426, allocations: 235.3 kB / 0.524 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/0.4442, allocations: 303.9 kB / 0.5242 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02287/0.4671, allocations: 12.08 MB / 0.536 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001353/0.4673, allocations: 37.17 kB / 0.5361 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006314/0.4679, allocations: 144.7 kB / 0.5362 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004943/0.4729, allocations: 2.835 MB / 0.539 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02413/0.497, allocations: 11.35 MB / 0.5501 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07588/0.573, allocations: 41.28 MB / 0.5904 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/0.5867, allocations: 6.075 MB / 0.5963 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005038/0.5918, allocations: 3.01 MB / 0.5993 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002355/0.5942, allocations: 1.887 MB / 0.6011 GB, free: 6.633 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/0.5942, allocations: 64.02 kB / 0.6012 GB, free: 6.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 6.662e-06/0.5943, allocations: 0 / 0.6012 GB, free: 6.566 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.05773/0.652, allocations: 20.12 MB / 0.6208 GB, free: 2.324 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.6521, allocations: 81.41 kB / 0.6209 GB, free: 2.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005444/0.6576, allocations: 3.031 MB / 0.6239 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007558/0.6584, allocations: 61.7 kB / 0.6239 GB, free: 15.11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00285/0.6612, allocations: 2.982 MB / 0.6268 GB, free: 12.13 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001557/0.6628, allocations: 1.027 MB / 0.6278 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002005/0.6648, allocations: 1.185 MB / 0.629 GB, free: 9.918 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.665, allocations: 309.1 kB / 0.6293 GB, free: 9.613 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004574/0.6695, allocations: 2.842 MB / 0.6321 GB, free: 6.766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007579/0.6771, allocations: 6.022 MB / 0.6379 GB, free: 15.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01329/0.6905, allocations: 9.66 MB / 0.6474 GB, free: 4.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.93e-05/0.6906, allocations: 32 kB / 0.6474 GB, free: 4.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02067/0.7113, allocations: 10.02 MB / 0.6572 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/0.7114, allocations: 54.5 kB / 0.6572 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001699/0.7116, allocations: 111.9 kB / 0.6573 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003971/0.7156, allocations: 1.363 MB / 0.6587 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/0.7211, allocations: 1.372 MB / 0.66 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/0.7332, allocations: 7.818 MB / 0.6676 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005285/0.7386, allocations: 363.7 kB / 0.668 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/0.7399, allocations: 350.7 kB / 0.6683 GB, free: 15.32 MB / 0.5137 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.005904/0.7458, allocations: 2.298 MB / 0.6706 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007416/0.7466, allocations: 300.1 kB / 0.6709 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.7598, allocations: 6.63 MB / 0.6773 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001114/0.76, allocations: 53.56 kB / 0.6774 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.76, allocations: 8 kB / 0.6774 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.758e-05/0.76, allocations: 11.95 kB / 0.6774 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/0.7899, allocations: 14.01 MB / 0.6911 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.79, allocations: 8.125 kB / 0.6911 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/0.7925, allocations: 463.2 kB / 0.6915 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003612/0.7961, allocations: 1.209 MB / 0.6927 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004812/0.7966, allocations: 48 kB / 0.6928 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.8068, allocations: 6.975 MB / 0.6996 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.015e-05/0.8068, allocations: 11.94 kB / 0.6996 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0182/0.825, allocations: 9.859 MB / 0.7092 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.8264, allocations: 345.2 kB / 0.7095 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00173/0.8282, allocations: 54.5 kB / 0.7096 GB, free: 4.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/0.8315, allocations: 191.7 kB / 0.7098 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009062/0.8325, allocations: 165.5 kB / 0.7099 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/0.8328, allocations: 87.11 kB / 0.71 GB, free: 4.105 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004276/0.8371, allocations: 1.874 MB / 0.7118 GB, free: 2.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8371, allocations: 0 / 0.7118 GB, free: 2.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006785/0.8439, allocations: 1.102 MB / 0.7129 GB, free: 1.129 MB / 0.545 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.2468/1.091, allocations: 10.51 MB / 0.7232 GB, free: 194.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01824/1.109, allocations: 11.99 MB / 0.7349 GB, free: 192.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.109, allocations: 3.906 kB / 0.7349 GB, free: 192.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004037/1.113, allocations: 2.859 MB / 0.7377 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/1.116, allocations: 432.1 kB / 0.7381 GB, free: 190.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06955/1.185, allocations: 52.72 MB / 0.7896 GB, free: 135.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003974/1.189, allocations: 3.578 MB / 0.7931 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004422/1.194, allocations: 2.2 MB / 0.7952 GB, free: 129.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/1.197, allocations: 2.069 MB / 0.7972 GB, free: 127.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.414e-06/1.197, allocations: 0 / 0.7972 GB, free: 127.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.304, allocations: 73.2 MB / 0.8687 GB, free: 54.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/13.01, allocations: 4.828 kB / 0.8687 GB, free: 54.87 MB / 0.545 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)