Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001039/0.001039, allocations: 180.8 kB / 17.01 MB, free: 5.125 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.218/1.218, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008467/0.0008466, allocations: 89.08 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002335/0.0002337, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2153, allocations: 47.58 MB / 375.9 MB, free: 45.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.3338, allocations: 114.2 MB / 490.1 MB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.3341, allocations: 95.95 kB / 490.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4633/0.7974, allocations: 141.6 MB / 0.617 GB, free: 15.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7975, allocations: 0 / 0.617 GB, free: 15.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003984/0.7979, allocations: 167.9 kB / 0.6171 GB, free: 14.84 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.02858/0.8265, allocations: 8.423 MB / 0.6254 GB, free: 6.328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.8265, allocations: 8.031 kB / 0.6254 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005847/0.8324, allocations: 1.35 MB / 0.6267 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.8464, allocations: 2.911 MB / 0.6295 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02137/0.8679, allocations: 8.1 MB / 0.6374 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005986/0.8685, allocations: 0.5897 MB / 0.638 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003423/0.8719, allocations: 0.7887 MB / 0.6388 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4184/1.29, allocations: 19.53 MB / 0.6579 GB, free: 47.2 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004571/1.291, allocations: 94.44 kB / 0.658 GB, free: 47.2 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003303/1.294, allocations: 368.2 kB / 0.6583 GB, free: 47.2 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/1.297, allocations: 1.724 MB / 0.66 GB, free: 47.18 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03355/1.331, allocations: 16.55 MB / 0.6762 GB, free: 47.13 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.09097/1.422, allocations: 81.16 MB / 0.7554 GB, free: 13.54 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02368/1.445, allocations: 9.172 MB / 0.7644 GB, free: 10.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03523/1.481, allocations: 20.45 MB / 0.7843 GB, free: 12.42 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/1.481, allocations: 64.66 kB / 0.7844 GB, free: 12.34 MB / 442.8 MB Notification: Performance of pre-optimization done (n=322): time 5.781e-06/1.481, allocations: 0 / 0.7844 GB, free: 12.34 MB / 442.8 MB Notification: Performance of matching and sorting (n=380): time 0.3401/1.821, allocations: 45.56 MB / 0.8289 GB, free: 94.21 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01297/1.834, allocations: 12.93 MB / 0.8415 GB, free: 87.62 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008984/1.843, allocations: 5.412 MB / 0.8468 GB, free: 87.14 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009499/1.844, allocations: 79.73 kB / 0.8469 GB, free: 87.11 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0034/1.847, allocations: 5.168 MB / 0.8519 GB, free: 84.68 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00185/1.849, allocations: 1.411 MB / 0.8533 GB, free: 83.86 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007752/1.85, allocations: 192.3 kB / 0.8535 GB, free: 83.86 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.00042/1.85, allocations: 0.7205 MB / 0.8542 GB, free: 83.54 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006202/1.856, allocations: 4.379 MB / 0.8585 GB, free: 83.52 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009284/1.866, allocations: 9.797 MB / 0.868 GB, free: 76.59 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00887/1.875, allocations: 6.432 MB / 0.8743 GB, free: 76.53 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.875, allocations: 52.59 kB / 0.8744 GB, free: 76.53 MB / 458.8 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03171/1.907, allocations: 17.49 MB / 0.8914 GB, free: 71.41 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001429/1.907, allocations: 90.78 kB / 0.8915 GB, free: 71.41 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002634/1.907, allocations: 191 kB / 0.8917 GB, free: 71.41 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009988/1.917, allocations: 3.595 MB / 0.8952 GB, free: 70.73 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007938/1.925, allocations: 2.253 MB / 0.8974 GB, free: 70.47 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02818/1.953, allocations: 27.64 MB / 0.9244 GB, free: 54.11 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008993/1.962, allocations: 0.6287 MB / 0.925 GB, free: 53.95 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00193/1.964, allocations: 0.5781 MB / 0.9256 GB, free: 53.87 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.007561/1.972, allocations: 3.564 MB / 0.9291 GB, free: 51.29 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.973, allocations: 0.5708 MB / 0.9296 GB, free: 50.71 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01971/1.993, allocations: 10.37 MB / 0.9398 GB, free: 42.44 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01678/2.01, allocations: 9.059 MB / 0.9486 GB, free: 35.07 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01796/2.028, allocations: 9.47 MB / 0.9579 GB, free: 27.3 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.846e-05/2.028, allocations: 20.27 kB / 0.9579 GB, free: 27.3 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2686/2.296, allocations: 24.65 MB / 0.9819 GB, free: 81.66 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.325e-05/2.297, allocations: 7.188 kB / 0.9819 GB, free: 81.66 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/2.3, allocations: 0.6376 MB / 0.9826 GB, free: 81.66 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009108/2.309, allocations: 2.99 MB / 0.9855 GB, free: 81.63 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001/2.31, allocations: 73.72 kB / 0.9856 GB, free: 81.63 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02533/2.336, allocations: 21.58 MB / 1.007 GB, free: 76.5 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006319/2.342, allocations: 6.03 MB / 1.013 GB, free: 73.73 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02549/2.368, allocations: 15.68 MB / 1.028 GB, free: 72.05 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004135/2.372, allocations: 1.259 MB / 1.029 GB, free: 71.95 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/2.374, allocations: 65.56 kB / 1.029 GB, free: 71.95 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004137/2.378, allocations: 277 kB / 1.029 GB, free: 71.95 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009144/2.379, allocations: 250.2 kB / 1.03 GB, free: 71.94 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004112/2.379, allocations: 107.8 kB / 1.03 GB, free: 71.94 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006721/2.386, allocations: 3.797 MB / 1.033 GB, free: 71.73 MB / 458.8 MB Notification: Performance of sort global known variables: time 4.91e-07/2.386, allocations: 0 / 1.033 GB, free: 71.73 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01048/2.396, allocations: 2.102 MB / 1.035 GB, free: 71.73 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.02388/2.42, allocations: 17.49 MB / 1.053 GB, free: 64 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01711/2.437, allocations: 11.39 MB / 1.064 GB, free: 59.96 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/2.437, allocations: 0 / 1.064 GB, free: 59.96 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007003/2.444, allocations: 4.8 MB / 1.068 GB, free: 58.02 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004744/2.449, allocations: 0.8038 MB / 1.069 GB, free: 57.71 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3351/2.784, allocations: 201.6 MB / 1.266 GB, free: 30.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007553/2.792, allocations: 5.609 MB / 1.271 GB, free: 29.93 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008994/2.801, allocations: 3.123 MB / 1.275 GB, free: 29.86 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005871/2.807, allocations: 3.562 MB / 1.278 GB, free: 29.86 MB / 490.8 MB Notification: Performance of SimCode: time 1.903e-06/2.807, allocations: 1.688 kB / 1.278 GB, free: 29.86 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4035/3.21, allocations: 152.8 MB / 1.427 GB, free: 91.15 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000137/3.211, allocations: 234.8 kB / 1.427 GB, free: 90.91 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.163/9.374, allocations: 7.938 kB / 1.427 GB, free: 90.9 MB / 490.8 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat