Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009468/0.0009466, allocations: 98.28 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002952/0.0002956, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.282, allocations: 50.4 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.7185, allocations: 115.6 MB / 0.505 GB, free: 46.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.7188, allocations: 92.33 kB / 0.5051 GB, free: 46.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3333/1.052, allocations: 141 MB / 0.6428 GB, free: 6.938 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.052, allocations: 0 / 0.6428 GB, free: 6.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005633/1.053, allocations: 160 kB / 0.6429 GB, free: 6.781 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2627 * Number of variables: 2627 Notification: Performance of Generate backend data structure: time 0.03504/1.088, allocations: 8.309 MB / 0.651 GB, free: 14.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.088, allocations: 8.031 kB / 0.6511 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007517/1.095, allocations: 1.326 MB / 0.6524 GB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01597/1.111, allocations: 2.891 MB / 0.6552 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02332/1.135, allocations: 7.733 MB / 0.6627 GB, free: 2.312 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007314/1.136, allocations: 0.5778 MB / 0.6633 GB, free: 1.734 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004678/1.14, allocations: 0.7731 MB / 0.664 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3531/1.493, allocations: 19.26 MB / 0.6829 GB, free: 58.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005392/1.494, allocations: 85.31 kB / 0.6829 GB, free: 58.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003667/1.498, allocations: 359.1 kB / 0.6833 GB, free: 58.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002637/1.5, allocations: 1.695 MB / 0.6849 GB, free: 58.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03512/1.535, allocations: 16.29 MB / 0.7008 GB, free: 58.46 MB / 442.7 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.09924/1.635, allocations: 80.25 MB / 0.7792 GB, free: 24.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02492/1.66, allocations: 9.067 MB / 0.7881 GB, free: 22.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03642/1.696, allocations: 20.23 MB / 0.8078 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.398e-05/1.696, allocations: 67.78 kB / 0.8079 GB, free: 7.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=313): time 8.636e-06/1.696, allocations: 4 kB / 0.8079 GB, free: 7.016 MB / 458.7 MB Notification: Performance of matching and sorting (n=371): time 0.4521/2.148, allocations: 44.97 MB / 0.8518 GB, free: 86.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01489/2.163, allocations: 12.9 MB / 0.8644 GB, free: 80.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009448/2.173, allocations: 5.301 MB / 0.8696 GB, free: 79.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001188/2.174, allocations: 76.45 kB / 0.8697 GB, free: 79.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003956/2.178, allocations: 5.091 MB / 0.8746 GB, free: 77.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002421/2.181, allocations: 1.385 MB / 0.876 GB, free: 76.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009577/2.182, allocations: 191.1 kB / 0.8762 GB, free: 76.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004826/2.182, allocations: 0.7036 MB / 0.8769 GB, free: 76.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006323/2.188, allocations: 4.324 MB / 0.8811 GB, free: 76.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/2.199, allocations: 9.662 MB / 0.8905 GB, free: 69.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009994/2.209, allocations: 6.338 MB / 0.8967 GB, free: 69.13 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002282/2.21, allocations: 56.28 kB / 0.8968 GB, free: 69.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.04022/2.25, allocations: 17.28 MB / 0.9136 GB, free: 64.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/2.25, allocations: 87.45 kB / 0.9137 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004398/2.251, allocations: 191.2 kB / 0.9139 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/2.262, allocations: 3.586 MB / 0.9174 GB, free: 63.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008817/2.271, allocations: 2.204 MB / 0.9196 GB, free: 63.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03091/2.301, allocations: 27.8 MB / 0.9467 GB, free: 47.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/2.313, allocations: 0.6087 MB / 0.9473 GB, free: 47.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002916/2.316, allocations: 0.5698 MB / 0.9479 GB, free: 47.01 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 856 * Number of states: 0 () * Number of discrete variables: 68 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1144): * Single equations (assignments): 1129 * 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.01089/2.326, allocations: 3.512 MB / 0.9513 GB, free: 45.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001802/2.328, allocations: 0.5604 MB / 0.9518 GB, free: 45.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01955/2.348, allocations: 10.25 MB / 0.9618 GB, free: 37.95 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01669/2.365, allocations: 8.963 MB / 0.9706 GB, free: 30.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01631/2.381, allocations: 9.373 MB / 0.9797 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/2.381, allocations: 16.41 kB / 0.9798 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04732/2.428, allocations: 24.07 MB / 1.003 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/2.429, allocations: 4 kB / 1.003 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/2.432, allocations: 0.6071 MB / 1.004 GB, free: 3.234 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.303/2.735, allocations: 3.057 MB / 1.007 GB, free: 79.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001282/2.736, allocations: 65.36 kB / 1.007 GB, free: 79.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02767/2.764, allocations: 21.64 MB / 1.028 GB, free: 74.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006609/2.771, allocations: 6.022 MB / 1.034 GB, free: 71.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02682/2.798, allocations: 15.08 MB / 1.049 GB, free: 70.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/2.8, allocations: 0.5996 MB / 1.049 GB, free: 70.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00204/2.802, allocations: 76.28 kB / 1.049 GB, free: 70.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003762/2.806, allocations: 261.3 kB / 1.05 GB, free: 70.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/2.807, allocations: 239.5 kB / 1.05 GB, free: 70.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003547/2.807, allocations: 100.3 kB / 1.05 GB, free: 70.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006968/2.814, allocations: 3.715 MB / 1.053 GB, free: 70.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.122e-06/2.814, allocations: 0 / 1.053 GB, free: 70.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01141/2.826, allocations: 2.081 MB / 1.056 GB, free: 70.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (280): * Single equations (assignments): 272 * 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.02462/2.85, allocations: 16.49 MB / 1.072 GB, free: 64.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01815/2.869, allocations: 11.23 MB / 1.083 GB, free: 60.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/2.869, allocations: 6.188 kB / 1.083 GB, free: 60.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008641/2.877, allocations: 4.692 MB / 1.087 GB, free: 59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006233/2.884, allocations: 0.7961 MB / 1.088 GB, free: 58.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4077/3.291, allocations: 198.2 MB / 1.281 GB, free: 26.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008717/3.3, allocations: 5.526 MB / 1.287 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00851/3.309, allocations: 3.074 MB / 1.29 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006079/3.315, allocations: 3.551 MB / 1.293 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of SimCode: time 7.955e-06/3.315, allocations: 0 / 1.293 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4744/3.789, allocations: 150.6 MB / 1.44 GB, free: 97.01 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/3.789, allocations: 237.5 kB / 1.441 GB, free: 96.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.767/10.56, allocations: 0 / 1.441 GB, free: 96.77 MB / 0.4948 GB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat