Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001637/0.001642, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 222.5 MB, free: 9.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 90.72 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005419/0.000542, allocations: 11.98 kB / 327.1 MB, free: 128 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.346, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.5369, allocations: 114.2 MB / 488.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/0.5373, allocations: 103.9 kB / 488.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8097/1.347, allocations: 141.6 MB / 0.6157 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.25e-06/1.347, allocations: 0 / 0.6157 GB, free: 15.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006469/1.348, allocations: 167.9 kB / 0.6159 GB, free: 14.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.04496/1.393, allocations: 8.423 MB / 0.6241 GB, free: 6.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.393, allocations: 8.031 kB / 0.6241 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007256/1.4, allocations: 1.35 MB / 0.6254 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02432/1.424, allocations: 2.915 MB / 0.6283 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03314/1.458, allocations: 8.1 MB / 0.6362 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009779/1.459, allocations: 0.5937 MB / 0.6368 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004758/1.463, allocations: 0.7887 MB / 0.6376 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7542/2.218, allocations: 19.53 MB / 0.6566 GB, free: 47.09 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007975/2.219, allocations: 88.78 kB / 0.6567 GB, free: 47.09 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00496/2.224, allocations: 374.4 kB / 0.6571 GB, free: 47.09 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006122/2.23, allocations: 1.723 MB / 0.6587 GB, free: 47.08 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08378/2.314, allocations: 16.55 MB / 0.6749 GB, free: 47.03 MB / 410.8 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.1734/2.487, allocations: 81.16 MB / 0.7542 GB, free: 13.5 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04598/2.533, allocations: 9.169 MB / 0.7631 GB, free: 10.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05382/2.587, allocations: 20.44 MB / 0.7831 GB, free: 12.57 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.158e-05/2.587, allocations: 68.47 kB / 0.7831 GB, free: 12.49 MB / 442.8 MB Notification: Performance of pre-optimization done (n=322): time 7.514e-06/2.587, allocations: 0 / 0.7831 GB, free: 12.49 MB / 442.8 MB Notification: Performance of matching and sorting (n=380): time 0.5371/3.124, allocations: 45.5 MB / 0.8276 GB, free: 94.2 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0233/3.148, allocations: 12.92 MB / 0.8402 GB, free: 87.61 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/3.161, allocations: 5.417 MB / 0.8455 GB, free: 87.13 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/3.163, allocations: 80.86 kB / 0.8456 GB, free: 87.1 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004703/3.167, allocations: 4.981 MB / 0.8504 GB, free: 84.62 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002616/3.17, allocations: 1.412 MB / 0.8518 GB, free: 83.8 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002091/3.172, allocations: 198.7 kB / 0.852 GB, free: 83.8 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.001024/3.173, allocations: 0.7167 MB / 0.8527 GB, free: 83.46 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01193/3.185, allocations: 4.381 MB / 0.857 GB, free: 83.44 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01685/3.202, allocations: 9.806 MB / 0.8666 GB, free: 76.52 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/3.217, allocations: 6.422 MB / 0.8728 GB, free: 76.46 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002473/3.218, allocations: 53 kB / 0.8729 GB, free: 76.46 MB / 458.8 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.0551/3.273, allocations: 17.28 MB / 0.8897 GB, free: 71.57 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000152/3.273, allocations: 88.22 kB / 0.8898 GB, free: 71.57 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003395/3.273, allocations: 192 kB / 0.89 GB, free: 71.57 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0189/3.292, allocations: 3.591 MB / 0.8935 GB, free: 70.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0148/3.307, allocations: 2.252 MB / 0.8957 GB, free: 70.64 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05189/3.359, allocations: 27.65 MB / 0.9227 GB, free: 54.28 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01314/3.372, allocations: 0.6206 MB / 0.9233 GB, free: 54.11 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002985/3.375, allocations: 0.5752 MB / 0.9239 GB, free: 54.04 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * Number of states: 0 () * Number of discrete variables: 66 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1166): * Single equations (assignments): 1151 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.01091/3.386, allocations: 3.569 MB / 0.9274 GB, free: 51.73 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/3.388, allocations: 0.5707 MB / 0.9279 GB, free: 51.15 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03694/3.425, allocations: 10.37 MB / 0.9381 GB, free: 42.88 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03139/3.456, allocations: 9.052 MB / 0.9469 GB, free: 35.51 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03184/3.488, allocations: 9.465 MB / 0.9561 GB, free: 27.75 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/3.488, allocations: 28.77 kB / 0.9562 GB, free: 27.73 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3998/3.888, allocations: 24.66 MB / 0.9803 GB, free: 82.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.002e-05/3.888, allocations: 7.031 kB / 0.9803 GB, free: 82.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00658/3.895, allocations: 0.6327 MB / 0.9809 GB, free: 82.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01665/3.912, allocations: 2.995 MB / 0.9838 GB, free: 82.27 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/3.913, allocations: 74.59 kB / 0.9839 GB, free: 82.27 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04675/3.96, allocations: 21.57 MB / 1.005 GB, free: 77.14 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01132/3.971, allocations: 6.034 MB / 1.011 GB, free: 74.39 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04569/4.017, allocations: 15.68 MB / 1.026 GB, free: 72.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005044/4.022, allocations: 1.259 MB / 1.027 GB, free: 72.61 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002486/4.024, allocations: 68.39 kB / 1.027 GB, free: 72.61 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007258/4.032, allocations: 283.9 kB / 1.028 GB, free: 72.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001831/4.034, allocations: 243.4 kB / 1.028 GB, free: 72.59 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007493/4.034, allocations: 108.2 kB / 1.028 GB, free: 72.59 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01045/4.045, allocations: 3.797 MB / 1.032 GB, free: 72.38 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.192e-06/4.045, allocations: 3.438 kB / 1.032 GB, free: 72.38 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01382/4.059, allocations: 2.1 MB / 1.034 GB, free: 72.38 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * 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 (290): * Single equations (assignments): 282 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.04595/4.105, allocations: 17.49 MB / 1.051 GB, free: 64.73 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02711/4.132, allocations: 11.38 MB / 1.062 GB, free: 60.68 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/4.132, allocations: 0 / 1.062 GB, free: 60.68 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01403/4.146, allocations: 4.793 MB / 1.067 GB, free: 58.74 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007559/4.154, allocations: 0.801 MB / 1.067 GB, free: 58.43 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5409/4.695, allocations: 202.4 MB / 1.265 GB, free: 28.14 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01436/4.709, allocations: 5.612 MB / 1.271 GB, free: 27.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01011/4.719, allocations: 3.633 MB / 1.274 GB, free: 27.25 MB / 490.8 MB Notification: Performance of SimCode: time 1.203e-06/4.719, allocations: 0 / 1.274 GB, free: 27.25 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.691/11.41, allocations: 317.7 MB / 1.584 GB, free: 118.6 MB / 0.4949 GB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat