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.001683/0.001683, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001838/0.001838, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.456/1.456, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2192/0.2192, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3725, allocations: 60.83 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01528/0.3879, allocations: 13.25 MB / 0.5314 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.4, allocations: 4.858 MB / 0.5361 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003476/0.4036, allocations: 80.38 kB / 0.5362 GB, free: 6.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007976/0.4116, allocations: 3.979 MB / 0.5401 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007284/0.4189, allocations: 2.2 MB / 0.5422 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.422, allocations: 1.178 MB / 0.5434 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008917/0.4309, allocations: 5.733 MB / 0.549 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006996/0.4379, allocations: 5.189 MB / 0.5541 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004393/0.4423, allocations: 2.173 MB / 0.5562 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005204/0.4476, allocations: 2.964 MB / 0.5591 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.4496, allocations: 0.4961 MB / 0.5596 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004773/0.4544, allocations: 1.662 MB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003676/0.4581, allocations: 2.65 MB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00483/0.4629, allocations: 3.1 MB / 0.5668 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.4768, allocations: 10.16 MB / 0.5767 GB, free: 220 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4769, allocations: 3.938 kB / 0.5767 GB, free: 216 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4769, allocations: 0 / 0.5767 GB, free: 216 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003296/0.4773, allocations: 0 / 0.5767 GB, free: 216 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.02189/0.4991, allocations: 6.837 MB / 0.5834 GB, free: 9.281 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.4992, allocations: 8.031 kB / 0.5834 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003373/0.5026, allocations: 0.9216 MB / 0.5843 GB, free: 8.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09454/0.5972, allocations: 7.448 MB / 0.5916 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.6085, allocations: 4.374 MB / 0.5958 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005364/0.6091, allocations: 358 kB / 0.5962 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002542/0.6117, allocations: 423.8 kB / 0.5966 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0352/0.6469, allocations: 13.77 MB / 0.61 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003705/0.6473, allocations: 51.58 kB / 0.6101 GB, free: 13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002114/0.6494, allocations: 199.8 kB / 0.6103 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004477/0.6539, allocations: 2.414 MB / 0.6126 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02919/0.6832, allocations: 11.61 MB / 0.624 GB, free: 14.76 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.07721/0.7604, allocations: 51.18 MB / 0.674 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/0.7741, allocations: 4.657 MB / 0.6785 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004495/0.7787, allocations: 2.768 MB / 0.6812 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02155/0.8002, allocations: 12.36 MB / 0.6933 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/0.8003, allocations: 55.88 kB / 0.6933 GB, free: 5.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=191): time 6.873e-06/0.8003, allocations: 3.984 kB / 0.6933 GB, free: 5.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=242): time 0.3903/1.191, allocations: 42.8 MB / 0.7351 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/1.191, allocations: 235.4 kB / 0.7353 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/1.197, allocations: 4.811 MB / 0.74 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005231/1.197, allocations: 57.17 kB / 0.7401 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002464/1.2, allocations: 4.056 MB / 0.7441 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001124/1.201, allocations: 0.958 MB / 0.745 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/1.203, allocations: 1.473 MB / 0.7464 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.839e-05/1.203, allocations: 309 kB / 0.7467 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003954/1.207, allocations: 3.257 MB / 0.7499 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004995/1.212, allocations: 7.542 MB / 0.7573 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009783/1.222, allocations: 11.6 MB / 0.7686 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/1.222, allocations: 44 kB / 0.7686 GB, free: 132.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02601/1.248, allocations: 13.87 MB / 0.7822 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.248, allocations: 68 kB / 0.7823 GB, free: 118.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/1.248, allocations: 152 kB / 0.7824 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/1.26, allocations: 3.772 MB / 0.7861 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/1.265, allocations: 1.595 MB / 0.7876 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/1.288, allocations: 19.18 MB / 0.8064 GB, free: 93.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006265/1.294, allocations: 451.5 kB / 0.8068 GB, free: 93.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.295, allocations: 435.8 kB / 0.8072 GB, free: 92.9 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.004939/1.3, allocations: 2.662 MB / 0.8098 GB, free: 90.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001462/1.302, allocations: 453 kB / 0.8102 GB, free: 89.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/1.318, allocations: 8.142 MB / 0.8182 GB, free: 81.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/1.319, allocations: 24 kB / 0.8182 GB, free: 81.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-05/1.319, allocations: 12 kB / 0.8182 GB, free: 81.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.734e-05/1.319, allocations: 7.969 kB / 0.8182 GB, free: 81.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03007/1.349, allocations: 17.3 MB / 0.8351 GB, free: 64.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.489e-05/1.349, allocations: 3.938 kB / 0.8351 GB, free: 64.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/1.351, allocations: 387.4 kB / 0.8355 GB, free: 63.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01092/1.362, allocations: 3.827 MB / 0.8392 GB, free: 60.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00055/1.363, allocations: 43.98 kB / 0.8393 GB, free: 59.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/1.383, allocations: 17.55 MB / 0.8564 GB, free: 42.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.383, allocations: 5.219 kB / 0.8564 GB, free: 42.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02114/1.405, allocations: 12.55 MB / 0.8687 GB, free: 29.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.406, allocations: 489.9 kB / 0.8692 GB, free: 29.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/1.408, allocations: 36 kB / 0.8692 GB, free: 29.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.41, allocations: 203.7 kB / 0.8694 GB, free: 28.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007075/1.411, allocations: 142.2 kB / 0.8695 GB, free: 28.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002259/1.411, allocations: 71.25 kB / 0.8696 GB, free: 28.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004439/1.416, allocations: 3.007 MB / 0.8725 GB, free: 25.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/1.416, allocations: 0 / 0.8725 GB, free: 25.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007823/1.424, allocations: 1.445 MB / 0.8739 GB, free: 24.33 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.02166/1.445, allocations: 13.25 MB / 0.8869 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.456, allocations: 7.926 MB / 0.8946 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.456, allocations: 0 / 0.8946 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003784/1.46, allocations: 2.983 MB / 0.8975 GB, free: 136 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.464, allocations: 0.5409 MB / 0.8981 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3661/1.83, allocations: 66.01 MB / 0.9625 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00493/1.835, allocations: 4.092 MB / 0.9665 GB, free: 190.1 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004546/1.839, allocations: 2.182 MB / 0.9686 GB, free: 189.9 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003054/1.842, allocations: 2.481 MB / 0.9711 GB, free: 187.8 MB / 0.6075 GB Notification: Performance of SimCode: time 7.61e-07/1.843, allocations: 3.938 kB / 0.9711 GB, free: 187.8 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/1.982, allocations: 103 MB / 1.072 GB, free: 90.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.34/33.33, allocations: 8.062 kB / 1.072 GB, free: 90.7 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)