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.002094/0.002094, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 96.16 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.238e-05, allocations: 4 kB / 314.9 MB, free: 9.047 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3415, allocations: 47.55 MB / 362.4 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.185/0.5266, allocations: 113.4 MB / 475.9 MB, free: 4.781 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.5269, allocations: 87.95 kB / 476 MB, free: 4.695 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7925/1.319, allocations: 138 MB / 0.5995 GB, free: 43.72 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.405e-06/1.32, allocations: 0 / 0.5995 GB, free: 43.72 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0005071/1.32, allocations: 163.9 kB / 0.5997 GB, free: 43.56 MB / 395.1 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.03836/1.358, allocations: 7.943 MB / 0.6074 GB, free: 35.54 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.358, allocations: 8.031 kB / 0.6075 GB, free: 35.53 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02277/1.381, allocations: 2.919 MB / 0.6103 GB, free: 32.59 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03017/1.411, allocations: 8.073 MB / 0.6182 GB, free: 24.43 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004945/1.412, allocations: 260 kB / 0.6184 GB, free: 24.18 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004122/1.416, allocations: 471.8 kB / 0.6189 GB, free: 23.72 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02876/1.445, allocations: 11.54 MB / 0.6302 GB, free: 12.17 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04499/1.49, allocations: 16.51 MB / 0.6463 GB, free: 10.28 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005263/1.491, allocations: 87.27 kB / 0.6464 GB, free: 10.19 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003587/1.494, allocations: 43.95 kB / 0.6464 GB, free: 10.15 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004672/1.499, allocations: 1.724 MB / 0.6481 GB, free: 8.422 MB / 411.1 MB Warning: The model contains alias variables with conflicting start and/or 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.4426/1.942, allocations: 80.34 MB / 0.7265 GB, free: 24.93 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/1.954, allocations: 6.111 MB / 0.7325 GB, free: 22.94 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008504/1.962, allocations: 4.522 MB / 0.7369 GB, free: 21.01 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002841/1.965, allocations: 1.785 MB / 0.7387 GB, free: 19.44 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.643e-05/1.965, allocations: 70.09 kB / 0.7387 GB, free: 19.38 MB / 411.1 MB Notification: Performance of pre-optimization done (n=332): time 7.384e-06/1.965, allocations: 0 / 0.7387 GB, free: 19.38 MB / 411.1 MB Notification: Performance of matching and sorting (n=402): time 0.16/2.126, allocations: 40.78 MB / 0.7786 GB, free: 116 kB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/2.126, allocations: 176.6 kB / 0.7787 GB, free: 15.92 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01319/2.139, allocations: 4.699 MB / 0.7833 GB, free: 11.93 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001258/2.14, allocations: 25.7 kB / 0.7833 GB, free: 11.9 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005573/2.146, allocations: 5.062 MB / 0.7883 GB, free: 7.461 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003104/2.149, allocations: 1.443 MB / 0.7897 GB, free: 6.16 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/2.151, allocations: 0 / 0.7897 GB, free: 6.16 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0009493/2.152, allocations: 0.7348 MB / 0.7904 GB, free: 5.535 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01171/2.163, allocations: 4.338 MB / 0.7946 GB, free: 1.664 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03181/2.195, allocations: 10.73 MB / 0.8051 GB, free: 8.145 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01632/2.212, allocations: 6.47 MB / 0.8114 GB, free: 2.727 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002323/2.212, allocations: 56 kB / 0.8115 GB, free: 2.672 MB / 443.1 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.06099/2.273, allocations: 16.64 MB / 0.8277 GB, free: 4.906 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000188/2.273, allocations: 88 kB / 0.8278 GB, free: 4.82 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004215/2.273, allocations: 196 kB / 0.828 GB, free: 4.629 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02218/2.296, allocations: 3.778 MB / 0.8317 GB, free: 1.551 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3417/2.637, allocations: 2.347 MB / 0.834 GB, free: 103.2 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04966/2.687, allocations: 25.78 MB / 0.8592 GB, free: 94.67 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01306/2.7, allocations: 476.2 kB / 0.8596 GB, free: 94.67 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002911/2.703, allocations: 0.6048 MB / 0.8602 GB, free: 94.67 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1215): * Single equations (assignments): 1200 * 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%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.003702/2.707, allocations: 0.6121 MB / 0.8608 GB, free: 94.55 MB / 459.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0426/2.75, allocations: 10.95 MB / 0.8715 GB, free: 94.05 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002558/2.752, allocations: 0.5408 MB / 0.872 GB, free: 94.05 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03883/2.791, allocations: 10.39 MB / 0.8822 GB, free: 93.14 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03139/2.823, allocations: 9.057 MB / 0.891 GB, free: 90.12 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03073/2.853, allocations: 8.969 MB / 0.8998 GB, free: 87.09 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000149/2.854, allocations: 23.03 kB / 0.8998 GB, free: 87.09 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07766/2.931, allocations: 23.99 MB / 0.9232 GB, free: 78.19 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.859e-05/2.931, allocations: 3.812 kB / 0.9232 GB, free: 78.19 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007774/2.939, allocations: 0.6734 MB / 0.9239 GB, free: 78.11 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01855/2.958, allocations: 2.974 MB / 0.9268 GB, free: 76.13 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001362/2.959, allocations: 26.98 kB / 0.9268 GB, free: 76.11 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06511/3.024, allocations: 19.79 MB / 0.9462 GB, free: 58.56 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009473/3.034, allocations: 5.526 MB / 0.9516 GB, free: 53.31 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04139/3.075, allocations: 16.07 MB / 0.9673 GB, free: 37.55 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005136/3.08, allocations: 1.247 MB / 0.9685 GB, free: 36.29 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/3.082, allocations: 19.48 kB / 0.9685 GB, free: 36.27 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01111/3.094, allocations: 230.4 kB / 0.9687 GB, free: 36.05 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002711/3.096, allocations: 260.3 kB / 0.969 GB, free: 35.8 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00264/3.099, allocations: 108 kB / 0.9691 GB, free: 35.7 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0147/3.114, allocations: 3.159 MB / 0.9721 GB, free: 32.57 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.122e-06/3.114, allocations: 0 / 0.9721 GB, free: 32.57 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01533/3.129, allocations: 1.912 MB / 0.974 GB, free: 30.68 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET8426770825.x[2],$STATESET8426770825.x[1],$STATESET8426770824.x[2],$STATESET8426770824.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 306 * 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%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.04684/3.176, allocations: 18.01 MB / 0.9916 GB, free: 12.53 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.3656/3.542, allocations: 11.35 MB / 1.003 GB, free: 104.4 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/3.542, allocations: 0.75 kB / 1.003 GB, free: 104.4 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01284/3.555, allocations: 4.769 MB / 1.007 GB, free: 103.9 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006763/3.562, allocations: 0.6826 MB / 1.008 GB, free: 103.9 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07505/3.637, allocations: 18.18 MB / 1.026 GB, free: 100.7 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01644/3.653, allocations: 5.642 MB / 1.031 GB, free: 99.81 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01007/3.663, allocations: 3.691 MB / 1.035 GB, free: 99.8 MB / 459.1 MB Notification: Performance of SimCode: time 2.104e-06/3.663, allocations: 0 / 1.035 GB, free: 99.8 MB / 459.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.964/10.63, allocations: 317.5 MB / 1.345 GB, free: 100.8 MB / 475.1 MB (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