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.001445/0.001445, allocations: 113.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.00151/0.00151, allocations: 179.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.43/1.43, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2062/0.2062, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 63.84 kB / 470 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3783, allocations: 60.83 MB / 0.5184 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01544/0.3938, allocations: 13.27 MB / 0.5314 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0114/0.4052, allocations: 4.834 MB / 0.5361 GB, free: 6.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.4081, allocations: 84.47 kB / 0.5362 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007641/0.4158, allocations: 3.983 MB / 0.5401 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006263/0.4221, allocations: 2.264 MB / 0.5423 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.425, allocations: 1.184 MB / 0.5435 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008259/0.4333, allocations: 5.731 MB / 0.549 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006514/0.4398, allocations: 5.183 MB / 0.5541 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.4435, allocations: 2.173 MB / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004488/0.448, allocations: 2.976 MB / 0.5591 GB, free: 2.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.4495, allocations: 0.5 MB / 0.5596 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/0.4535, allocations: 1.654 MB / 0.5612 GB, free: 280 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003942/0.4574, allocations: 2.681 MB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00594/0.4634, allocations: 3.092 MB / 0.5669 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.4774, allocations: 10.16 MB / 0.5768 GB, free: 280 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4774, allocations: 0 / 0.5768 GB, free: 280 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.4774, allocations: 4 kB / 0.5768 GB, free: 276 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003805/0.4778, allocations: 3.938 kB / 0.5768 GB, free: 272 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.01878/0.4966, allocations: 6.837 MB / 0.5835 GB, free: 9.336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4967, allocations: 8.031 kB / 0.5835 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002602/0.4993, allocations: 0.9216 MB / 0.5844 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08875/0.5881, allocations: 7.452 MB / 0.5917 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.5985, allocations: 4.37 MB / 0.5959 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/0.5989, allocations: 350 kB / 0.5963 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/0.6009, allocations: 431.8 kB / 0.5967 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03001/0.6309, allocations: 13.77 MB / 0.6101 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002872/0.6312, allocations: 51.58 kB / 0.6102 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/0.6327, allocations: 199.8 kB / 0.6104 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003936/0.6366, allocations: 2.406 MB / 0.6127 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/0.6638, allocations: 11.61 MB / 0.6241 GB, free: 14.82 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.07233/0.7362, allocations: 51.18 MB / 0.674 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.7492, allocations: 4.657 MB / 0.6786 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003922/0.7532, allocations: 2.768 MB / 0.6813 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/0.7743, allocations: 12.37 MB / 0.6934 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.713e-05/0.7744, allocations: 55.88 kB / 0.6934 GB, free: 5.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=191): time 5.991e-06/0.7744, allocations: 0 / 0.6934 GB, free: 5.582 MB / 0.545 GB Notification: Performance of matching and sorting (n=242): time 0.4388/1.213, allocations: 42.81 MB / 0.7352 GB, free: 163 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/1.213, allocations: 235.4 kB / 0.7355 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00638/1.22, allocations: 4.817 MB / 0.7402 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005379/1.22, allocations: 61.33 kB / 0.7402 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001807/1.222, allocations: 4.057 MB / 0.7442 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009278/1.223, allocations: 0.9509 MB / 0.7451 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/1.225, allocations: 1.466 MB / 0.7465 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.887e-05/1.225, allocations: 309 kB / 0.7468 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003865/1.229, allocations: 3.258 MB / 0.75 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005354/1.234, allocations: 7.542 MB / 0.7574 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/1.245, allocations: 11.6 MB / 0.7687 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/1.245, allocations: 44 kB / 0.7688 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02603/1.271, allocations: 13.87 MB / 0.7823 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002568/1.272, allocations: 69.03 kB / 0.7824 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003187/1.272, allocations: 152 kB / 0.7825 GB, free: 118.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01093/1.283, allocations: 3.775 MB / 0.7862 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004752/1.288, allocations: 1.597 MB / 0.7878 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02347/1.311, allocations: 19.18 MB / 0.8065 GB, free: 93.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/1.318, allocations: 447.5 kB / 0.8069 GB, free: 93.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001175/1.319, allocations: 439.6 kB / 0.8073 GB, free: 93.12 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.004529/1.323, allocations: 2.654 MB / 0.8099 GB, free: 90.45 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.325, allocations: 453 kB / 0.8103 GB, free: 90.01 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.341, allocations: 8.142 MB / 0.8183 GB, free: 81.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-05/1.341, allocations: 28 kB / 0.8183 GB, free: 81.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.331e-05/1.341, allocations: 13.59 kB / 0.8183 GB, free: 81.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.51e-05/1.341, allocations: 11.95 kB / 0.8183 GB, free: 81.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03423/1.376, allocations: 17.3 MB / 0.8352 GB, free: 64.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/1.376, allocations: 0 / 0.8352 GB, free: 64.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/1.378, allocations: 392.3 kB / 0.8356 GB, free: 64.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01058/1.388, allocations: 3.819 MB / 0.8393 GB, free: 60.26 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005798/1.389, allocations: 43.98 kB / 0.8394 GB, free: 60.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.41, allocations: 17.55 MB / 0.8565 GB, free: 42.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.41, allocations: 7.938 kB / 0.8565 GB, free: 42.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02146/1.432, allocations: 12.55 MB / 0.8688 GB, free: 29.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.433, allocations: 485.9 kB / 0.8692 GB, free: 29.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/1.435, allocations: 39.67 kB / 0.8693 GB, free: 29.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/1.438, allocations: 211.6 kB / 0.8695 GB, free: 29.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009147/1.439, allocations: 146.2 kB / 0.8696 GB, free: 29.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/1.439, allocations: 64.06 kB / 0.8697 GB, free: 29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00543/1.445, allocations: 3.007 MB / 0.8726 GB, free: 26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.445, allocations: 0 / 0.8726 GB, free: 26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007437/1.452, allocations: 1.446 MB / 0.874 GB, free: 24.55 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.02193/1.474, allocations: 13.25 MB / 0.887 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.485, allocations: 7.92 MB / 0.8947 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.486, allocations: 4 kB / 0.8947 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00453/1.49, allocations: 2.975 MB / 0.8976 GB, free: 368 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00592/1.496, allocations: 0.5455 MB / 0.8982 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3625/1.859, allocations: 66.01 MB / 0.9626 GB, free: 192.2 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004472/1.863, allocations: 4.092 MB / 0.9666 GB, free: 190.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004312/1.867, allocations: 2.18 MB / 0.9687 GB, free: 190.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/1.87, allocations: 2.48 MB / 0.9712 GB, free: 188.4 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/1.87, allocations: 2.531 kB / 0.9712 GB, free: 188.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/2.004, allocations: 103 MB / 1.072 GB, free: 91.22 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.16/33.16, allocations: 8.047 kB / 1.072 GB, free: 91.21 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)