Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_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.001879/0.001879, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001917/0.001917, allocations: 188.6 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2338/0.2338, allocations: 43.51 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 69.27 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.137, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01554/0.1526, allocations: 13.31 MB / 453.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.167, allocations: 4.837 MB / 458.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.1707, allocations: 87.75 kB / 458.8 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008304/0.1791, allocations: 3.987 MB / 462.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007112/0.1863, allocations: 2.194 MB / 465 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003276/0.1896, allocations: 1.197 MB / 466.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008962/0.1985, allocations: 5.568 MB / 471.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00819/0.2068, allocations: 5.182 MB / 477 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004806/0.2116, allocations: 2.193 MB / 479.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00526/0.2169, allocations: 2.972 MB / 482.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001899/0.2188, allocations: 0.5 MB / 482.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004089/0.2229, allocations: 1.646 MB / 484.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003921/0.2269, allocations: 2.654 MB / 486.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009361/0.2363, allocations: 3.108 MB / 490.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01774/0.2541, allocations: 9.865 MB / 499.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.2541, allocations: 0 / 499.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.2541, allocations: 4 kB / 499.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00041/0.2545, allocations: 0 / 499.9 MB, free: 11.25 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02271/0.2773, allocations: 6.702 MB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.2773, allocations: 11.89 kB / 0.4948 GB, free: 4.457 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004069/0.2814, allocations: 0.9255 MB / 0.4957 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09404/0.3755, allocations: 7.409 MB / 0.5029 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.3877, allocations: 4.587 MB / 0.5074 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/0.3882, allocations: 358 kB / 0.5077 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/0.3905, allocations: 427.7 kB / 0.5081 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03462/0.4252, allocations: 13.77 MB / 0.5216 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002647/0.4255, allocations: 55.53 kB / 0.5216 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001726/0.4272, allocations: 203.8 kB / 0.5218 GB, free: 7.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004389/0.4317, allocations: 2.402 MB / 0.5242 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3062/0.7379, allocations: 11.61 MB / 0.5355 GB, free: 80.27 MB / 414.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.06035/0.7983, allocations: 51.35 MB / 0.5857 GB, free: 40.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.8095, allocations: 4.672 MB / 0.5902 GB, free: 35.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/0.8127, allocations: 2.777 MB / 0.5929 GB, free: 32.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.828, allocations: 12.35 MB / 0.605 GB, free: 19.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.8281, allocations: 55.81 kB / 0.605 GB, free: 19.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=191): time 6.202e-06/0.8281, allocations: 0 / 0.605 GB, free: 19.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=242): time 0.1699/0.998, allocations: 42.56 MB / 0.6466 GB, free: 9.156 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.9982, allocations: 239.5 kB / 0.6468 GB, free: 8.875 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009521/1.008, allocations: 4.83 MB / 0.6516 GB, free: 4.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006274/1.008, allocations: 61.7 kB / 0.6516 GB, free: 3.977 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003912/1.012, allocations: 3.914 MB / 0.6554 GB, free: 64 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002006/1.014, allocations: 0.9101 MB / 0.6563 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005162/1.02, allocations: 1.456 MB / 0.6577 GB, free: 13.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/1.02, allocations: 305.2 kB / 0.658 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006153/1.026, allocations: 3.254 MB / 0.6612 GB, free: 10.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009654/1.036, allocations: 7.544 MB / 0.6686 GB, free: 464 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0171/1.053, allocations: 11.6 MB / 0.6799 GB, free: 2.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/1.053, allocations: 40 kB / 0.68 GB, free: 2.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03588/1.089, allocations: 13.86 MB / 0.6935 GB, free: 4.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004063/1.089, allocations: 68 kB / 0.6936 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005017/1.09, allocations: 152 kB / 0.6937 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01278/1.103, allocations: 3.779 MB / 0.6974 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005807/1.109, allocations: 1.602 MB / 0.699 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03312/1.142, allocations: 19.17 MB / 0.7177 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007713/1.149, allocations: 447.4 kB / 0.7181 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001881/1.151, allocations: 436 kB / 0.7185 GB, free: 11.04 MB / 0.5137 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.007324/1.159, allocations: 2.649 MB / 0.7211 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/1.16, allocations: 434.4 kB / 0.7215 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3079/1.468, allocations: 8.145 MB / 0.7295 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.711e-05/1.468, allocations: 26.06 kB / 0.7295 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/1.468, allocations: 11.72 kB / 0.7295 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.818e-05/1.468, allocations: 13.89 kB / 0.7295 GB, free: 175.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03958/1.508, allocations: 17.37 MB / 0.7465 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/1.508, allocations: 0 / 0.7465 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/1.51, allocations: 397.2 kB / 0.7469 GB, free: 172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01157/1.522, allocations: 3.837 MB / 0.7506 GB, free: 171.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005473/1.522, allocations: 46.7 kB / 0.7506 GB, free: 171.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/1.545, allocations: 17.53 MB / 0.7678 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/1.545, allocations: 3.531 kB / 0.7678 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/1.566, allocations: 12.53 MB / 0.78 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003198/1.57, allocations: 0.9305 MB / 0.7809 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001827/1.571, allocations: 40 kB / 0.781 GB, free: 151.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003528/1.575, allocations: 203.5 kB / 0.7811 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.576, allocations: 150.1 kB / 0.7813 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004972/1.577, allocations: 71.92 kB / 0.7814 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006986/1.584, allocations: 3.019 MB / 0.7843 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.01e-07/1.584, allocations: 0 / 0.7843 GB, free: 147.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008919/1.593, allocations: 1.444 MB / 0.7857 GB, free: 146.4 MB / 0.5137 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.02288/1.616, allocations: 13.23 MB / 0.7986 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01621/1.632, allocations: 9.506 MB / 0.8079 GB, free: 124 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.632, allocations: 0 / 0.8079 GB, free: 124 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004969/1.637, allocations: 2.973 MB / 0.8108 GB, free: 121 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007816/1.645, allocations: 0.5507 MB / 0.8114 GB, free: 120.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1291/1.774, allocations: 75.05 MB / 0.8847 GB, free: 36.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007584/1.781, allocations: 4.104 MB / 0.8887 GB, free: 32.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006487/1.788, allocations: 2.177 MB / 0.8908 GB, free: 30.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003959/1.792, allocations: 2.487 MB / 0.8932 GB, free: 27.95 MB / 0.5137 GB Notification: Performance of SimCode: time 1.462e-06/1.792, allocations: 3.938 kB / 0.8932 GB, free: 27.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4561/2.248, allocations: 107.4 MB / 0.9982 GB, free: 115.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/14.64, allocations: 4 kB / 0.9982 GB, free: 115.7 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)