Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001775/0.001775, allocations: 103.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002074/0.002074, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 83.11 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1583, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01676/0.1751, allocations: 13.22 MB / 493.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.1874, allocations: 4.875 MB / 498.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003276/0.1907, allocations: 79.81 kB / 498.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009102/0.1999, allocations: 3.964 MB / 0.4905 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007384/0.2073, allocations: 2.163 MB / 0.4926 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.2109, allocations: 1.181 MB / 0.4938 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009284/0.2202, allocations: 5.806 MB / 0.4994 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007918/0.2281, allocations: 5.182 MB / 0.5045 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2932/0.5214, allocations: 2.159 MB / 0.5066 GB, free: 16.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007162/0.5286, allocations: 2.954 MB / 0.5095 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002933/0.5316, allocations: 0.4998 MB / 0.51 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005868/0.5375, allocations: 1.641 MB / 0.5116 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00612/0.5436, allocations: 2.626 MB / 0.5142 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00846/0.5521, allocations: 3.08 MB / 0.5172 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01831/0.5704, allocations: 9.794 MB / 0.5267 GB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.5705, allocations: 0 / 0.5267 GB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5705, allocations: 0 / 0.5267 GB, free: 12.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006912/0.5712, allocations: 0 / 0.5267 GB, free: 12.35 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.02691/0.5981, allocations: 6.646 MB / 0.5332 GB, free: 7.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.5982, allocations: 9.406 kB / 0.5332 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004389/0.6026, allocations: 0.9169 MB / 0.5341 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09652/0.6992, allocations: 7.402 MB / 0.5413 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.7106, allocations: 4.083 MB / 0.5453 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.7109, allocations: 343.2 kB / 0.5457 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002567/0.7135, allocations: 436.1 kB / 0.5461 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03719/0.7507, allocations: 13.77 MB / 0.5595 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003858/0.7512, allocations: 61.95 kB / 0.5596 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002225/0.7534, allocations: 200.7 kB / 0.5598 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004472/0.7579, allocations: 2.408 MB / 0.5621 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02968/0.7876, allocations: 11.62 MB / 0.5735 GB, free: 4.426 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.08233/0.87, allocations: 51.32 MB / 0.6236 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/0.8837, allocations: 4.683 MB / 0.6282 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004067/0.8878, allocations: 2.774 MB / 0.6309 GB, free: 8.711 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01941/0.9072, allocations: 12.42 MB / 0.643 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/0.9073, allocations: 59 kB / 0.6431 GB, free: 11.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 6.292e-06/0.9073, allocations: 0 / 0.6431 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=242): time 0.1617/1.069, allocations: 42.24 MB / 0.6843 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.069, allocations: 231.6 kB / 0.6845 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008631/1.078, allocations: 4.786 MB / 0.6892 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000682/1.078, allocations: 61.7 kB / 0.6893 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003213/1.082, allocations: 3.899 MB / 0.6931 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.083, allocations: 0.9196 MB / 0.694 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004376/1.088, allocations: 1.461 MB / 0.6954 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.088, allocations: 305.1 kB / 0.6957 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005829/1.094, allocations: 3.258 MB / 0.6989 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2486/1.342, allocations: 7.55 MB / 0.7062 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01806/1.36, allocations: 11.6 MB / 0.7176 GB, free: 165 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004595/1.361, allocations: 43.41 kB / 0.7176 GB, free: 165 MB / 0.5294 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03916/1.4, allocations: 13.86 MB / 0.7311 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/1.4, allocations: 71.59 kB / 0.7312 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002424/1.401, allocations: 148.5 kB / 0.7314 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/1.413, allocations: 3.788 MB / 0.7351 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005913/1.419, allocations: 1.605 MB / 0.7366 GB, free: 159.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0261/1.445, allocations: 19.16 MB / 0.7553 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007205/1.452, allocations: 464.3 kB / 0.7558 GB, free: 145.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002092/1.455, allocations: 426.5 kB / 0.7562 GB, free: 144.9 MB / 0.5294 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.008645/1.463, allocations: 2.657 MB / 0.7588 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.465, allocations: 432.8 kB / 0.7592 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.483, allocations: 8.142 MB / 0.7671 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-05/1.483, allocations: 28 kB / 0.7672 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.384e-05/1.484, allocations: 12 kB / 0.7672 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-05/1.484, allocations: 7.969 kB / 0.7672 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/1.522, allocations: 17.36 MB / 0.7841 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/1.522, allocations: 0 / 0.7841 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.524, allocations: 392.6 kB / 0.7845 GB, free: 116.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0111/1.536, allocations: 3.842 MB / 0.7883 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007274/1.536, allocations: 41.16 kB / 0.7883 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02236/1.559, allocations: 17.54 MB / 0.8054 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.559, allocations: 3.938 kB / 0.8054 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02315/1.582, allocations: 12.54 MB / 0.8177 GB, free: 82.44 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.584, allocations: 463.4 kB / 0.8181 GB, free: 81.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00181/1.585, allocations: 40 kB / 0.8182 GB, free: 81.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003371/1.589, allocations: 207.7 kB / 0.8184 GB, free: 81.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009519/1.59, allocations: 142.3 kB / 0.8185 GB, free: 81.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004365/1.59, allocations: 69.09 kB / 0.8186 GB, free: 81.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005712/1.596, allocations: 2.998 MB / 0.8215 GB, free: 78.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/1.596, allocations: 3.891 kB / 0.8215 GB, free: 78.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008306/1.604, allocations: 1.416 MB / 0.8229 GB, free: 77.11 MB / 0.5294 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.0229/1.627, allocations: 13.24 MB / 0.8358 GB, free: 63.84 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01568/1.643, allocations: 9.515 MB / 0.8451 GB, free: 54.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.148e-06/1.643, allocations: 2.516 kB / 0.8451 GB, free: 54.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00417/1.647, allocations: 2.979 MB / 0.848 GB, free: 51.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005208/1.652, allocations: 0.5569 MB / 0.8486 GB, free: 50.83 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4227/2.075, allocations: 74.68 MB / 0.9215 GB, free: 170.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006239/2.081, allocations: 4.097 MB / 0.9255 GB, free: 168.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005718/2.087, allocations: 2.174 MB / 0.9276 GB, free: 168.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005902/2.093, allocations: 2.48 MB / 0.93 GB, free: 166.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/2.093, allocations: 3.188 kB / 0.93 GB, free: 166.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.162/2.255, allocations: 106.9 MB / 1.034 GB, free: 68.88 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/14.45, allocations: 14.34 kB / 1.034 GB, free: 68.87 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)