Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 184.2 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2103/0.2103, allocations: 44.18 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 71.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3827, allocations: 60.82 MB / 0.5184 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01522/0.3979, allocations: 13.26 MB / 0.5314 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.4099, allocations: 4.841 MB / 0.5361 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003558/0.4135, allocations: 85 kB / 0.5362 GB, free: 6.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008665/0.4222, allocations: 3.988 MB / 0.5401 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009393/0.4316, allocations: 2.255 MB / 0.5423 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.4361, allocations: 1.19 MB / 0.5435 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01/0.4461, allocations: 5.729 MB / 0.549 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007506/0.4537, allocations: 5.189 MB / 0.5541 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005032/0.4588, allocations: 2.177 MB / 0.5562 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004736/0.4635, allocations: 2.964 MB / 0.5591 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.4653, allocations: 0.5 MB / 0.5596 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.4694, allocations: 1.662 MB / 0.5612 GB, free: 104 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003633/0.4731, allocations: 2.677 MB / 0.5639 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005638/0.4788, allocations: 3.1 MB / 0.5669 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.4923, allocations: 10.16 MB / 0.5768 GB, free: 104 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.4924, allocations: 0 / 0.5768 GB, free: 104 kB / 430.1 MB Notification: Performance of FrontEnd: time 4.328e-06/0.4924, allocations: 0 / 0.5768 GB, free: 104 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003755/0.4928, allocations: 3.938 kB / 0.5768 GB, free: 100 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02207/0.5149, allocations: 6.84 MB / 0.5835 GB, free: 9.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.031e-05/0.515, allocations: 8.031 kB / 0.5835 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002974/0.518, allocations: 0.9216 MB / 0.5844 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09172/0.6097, allocations: 7.441 MB / 0.5917 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.6208, allocations: 4.37 MB / 0.5959 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.6212, allocations: 362 kB / 0.5963 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.6229, allocations: 423.8 kB / 0.5967 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/0.6483, allocations: 13.77 MB / 0.6101 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/0.6485, allocations: 59.56 kB / 0.6102 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006913/0.6492, allocations: 203.8 kB / 0.6104 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003549/0.6528, allocations: 2.406 MB / 0.6127 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02597/0.6788, allocations: 11.61 MB / 0.6241 GB, free: 14.66 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06589/0.7447, allocations: 51.17 MB / 0.674 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.7571, allocations: 4.668 MB / 0.6786 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003753/0.7609, allocations: 2.772 MB / 0.6813 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01975/0.7807, allocations: 12.36 MB / 0.6934 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/0.7808, allocations: 55.88 kB / 0.6934 GB, free: 5.422 MB / 0.545 GB Notification: Performance of pre-optimization done (n=191): time 6.202e-06/0.7808, allocations: 3.984 kB / 0.6934 GB, free: 5.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=242): time 0.4049/1.186, allocations: 42.8 MB / 0.7352 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/1.186, allocations: 242.9 kB / 0.7355 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006112/1.192, allocations: 4.807 MB / 0.7402 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005156/1.193, allocations: 64.86 kB / 0.7402 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/1.194, allocations: 4.06 MB / 0.7442 GB, free: 158 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009844/1.195, allocations: 0.9476 MB / 0.7451 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001817/1.197, allocations: 1.472 MB / 0.7465 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.688e-05/1.197, allocations: 305.1 kB / 0.7468 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003818/1.201, allocations: 3.259 MB / 0.75 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005152/1.206, allocations: 7.545 MB / 0.7574 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.217, allocations: 11.59 MB / 0.7687 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.924e-05/1.217, allocations: 44 kB / 0.7687 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02491/1.242, allocations: 13.87 MB / 0.7823 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.351e-05/1.242, allocations: 68 kB / 0.7824 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.242, allocations: 152 kB / 0.7825 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/1.252, allocations: 3.779 MB / 0.7862 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004601/1.257, allocations: 1.591 MB / 0.7877 GB, free: 112.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/1.279, allocations: 19.18 MB / 0.8065 GB, free: 93.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005677/1.284, allocations: 443.6 kB / 0.8069 GB, free: 93.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009295/1.285, allocations: 439.2 kB / 0.8073 GB, free: 92.77 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * Array equations: 3 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003518/1.289, allocations: 2.654 MB / 0.8099 GB, free: 90.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008615/1.29, allocations: 457 kB / 0.8103 GB, free: 89.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.305, allocations: 8.138 MB / 0.8183 GB, free: 81.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/1.305, allocations: 24 kB / 0.8183 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/1.305, allocations: 12 kB / 0.8183 GB, free: 81.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.722e-05/1.305, allocations: 15.95 kB / 0.8183 GB, free: 81.44 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/1.335, allocations: 17.29 MB / 0.8352 GB, free: 64.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.383e-05/1.335, allocations: 0 / 0.8352 GB, free: 64.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/1.337, allocations: 393.8 kB / 0.8356 GB, free: 63.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01074/1.348, allocations: 3.831 MB / 0.8393 GB, free: 59.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004787/1.349, allocations: 43.92 kB / 0.8394 GB, free: 59.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01972/1.368, allocations: 17.54 MB / 0.8565 GB, free: 42.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.368, allocations: 7.969 kB / 0.8565 GB, free: 42.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/1.389, allocations: 12.55 MB / 0.8688 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.39, allocations: 489.9 kB / 0.8692 GB, free: 29.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008503/1.391, allocations: 36 kB / 0.8693 GB, free: 29.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.394, allocations: 211.7 kB / 0.8695 GB, free: 28.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004954/1.394, allocations: 142.2 kB / 0.8696 GB, free: 28.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/1.394, allocations: 60.69 kB / 0.8697 GB, free: 28.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003708/1.398, allocations: 3.007 MB / 0.8726 GB, free: 25.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/1.398, allocations: 0 / 0.8726 GB, free: 25.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005849/1.404, allocations: 1.449 MB / 0.874 GB, free: 24.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (167): * Single equations (assignments): 163 * Array equations: 3 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02054/1.424, allocations: 13.25 MB / 0.887 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01015/1.435, allocations: 7.919 MB / 0.8947 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.435, allocations: 0 / 0.8947 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003532/1.438, allocations: 2.979 MB / 0.8976 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/1.442, allocations: 0.5375 MB / 0.8981 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3784/1.82, allocations: 66.02 MB / 0.9626 GB, free: 191.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004263/1.824, allocations: 4.088 MB / 0.9666 GB, free: 190.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00423/1.829, allocations: 2.177 MB / 0.9687 GB, free: 190.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002543/1.831, allocations: 2.481 MB / 0.9712 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/1.831, allocations: 0 / 0.9712 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/1.963, allocations: 103 MB / 1.072 GB, free: 90.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.49/34.45, allocations: 6.75 kB / 1.072 GB, free: 90.95 MB / 0.6075 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)