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.001989/0.001989, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009171/0.0009173, allocations: 92.09 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.131e-05, allocations: 0 / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 47.6 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.5686, allocations: 113.7 MB / 476.8 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.569, allocations: 92.34 kB / 476.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.653/1.222, allocations: 138 MB / 0.6005 GB, free: 84.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.956e-06/1.222, allocations: 0 / 0.6005 GB, free: 84.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005666/1.223, allocations: 161.7 kB / 0.6006 GB, free: 84.32 MB / 410.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.0313/1.254, allocations: 7.95 MB / 0.6084 GB, free: 76.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/1.254, allocations: 8.031 kB / 0.6084 GB, free: 76.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/1.269, allocations: 2.907 MB / 0.6112 GB, free: 73.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02229/1.292, allocations: 8.059 MB / 0.6191 GB, free: 65.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005759/1.292, allocations: 256 kB / 0.6194 GB, free: 65.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005111/1.297, allocations: 471.8 kB / 0.6198 GB, free: 65.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02808/1.326, allocations: 11.55 MB / 0.6311 GB, free: 53.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04519/1.371, allocations: 16.5 MB / 0.6472 GB, free: 35.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007273/1.372, allocations: 91.17 kB / 0.6473 GB, free: 35.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005428/1.377, allocations: 40 kB / 0.6473 GB, free: 35.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003815/1.381, allocations: 1.729 MB / 0.649 GB, free: 33.85 MB / 410.7 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.445/1.826, allocations: 80.33 MB / 0.7275 GB, free: 31.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009188/1.835, allocations: 6.111 MB / 0.7334 GB, free: 30.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006129/1.841, allocations: 4.528 MB / 0.7378 GB, free: 30.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001942/1.843, allocations: 1.789 MB / 0.7396 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.283e-05/1.844, allocations: 70.42 kB / 0.7397 GB, free: 28.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=332): time 8.506e-06/1.844, allocations: 3.844 kB / 0.7397 GB, free: 28.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=402): time 0.1022/1.946, allocations: 40.78 MB / 0.7795 GB, free: 16.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/1.946, allocations: 171.8 kB / 0.7797 GB, free: 16.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.956, allocations: 4.7 MB / 0.7842 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001617/1.958, allocations: 25.7 kB / 0.7843 GB, free: 14.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004122/1.962, allocations: 5.209 MB / 0.7894 GB, free: 10.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002931/1.965, allocations: 1.435 MB / 0.7908 GB, free: 9.668 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/1.966, allocations: 0 / 0.7908 GB, free: 9.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000741/1.967, allocations: 0.7277 MB / 0.7915 GB, free: 9.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007202/1.974, allocations: 4.347 MB / 0.7957 GB, free: 7.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01349/1.988, allocations: 9.849 MB / 0.8053 GB, free: 11.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/2.002, allocations: 6.471 MB / 0.8116 GB, free: 6.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002809/2.002, allocations: 56 kB / 0.8117 GB, free: 6.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.04501/2.047, allocations: 16.78 MB / 0.8281 GB, free: 8.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002304/2.047, allocations: 89 kB / 0.8282 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004825/2.048, allocations: 196 kB / 0.8284 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01288/2.061, allocations: 3.772 MB / 0.832 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/2.071, allocations: 2.364 MB / 0.8343 GB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.516/2.587, allocations: 25.84 MB / 0.8596 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/2.599, allocations: 477.8 kB / 0.86 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003348/2.602, allocations: 0.6092 MB / 0.8606 GB, free: 107.9 MB / 458.7 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.003953/2.606, allocations: 0.6103 MB / 0.8612 GB, free: 107.8 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.028/2.634, allocations: 10.96 MB / 0.8719 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003382/2.637, allocations: 0.545 MB / 0.8725 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02375/2.661, allocations: 10.39 MB / 0.8826 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01886/2.68, allocations: 9.061 MB / 0.8915 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01792/2.698, allocations: 8.972 MB / 0.9002 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001661/2.698, allocations: 17.91 kB / 0.9002 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05873/2.757, allocations: 23.98 MB / 0.9237 GB, free: 94.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-05/2.757, allocations: 9.922 kB / 0.9237 GB, free: 94.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004135/2.761, allocations: 0.6745 MB / 0.9243 GB, free: 94.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009213/2.771, allocations: 2.976 MB / 0.9272 GB, free: 93.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/2.772, allocations: 18.52 kB / 0.9273 GB, free: 93.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02406/2.796, allocations: 19.79 MB / 0.9466 GB, free: 78.79 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005961/2.802, allocations: 5.524 MB / 0.952 GB, free: 73.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02554/2.827, allocations: 16.07 MB / 0.9677 GB, free: 58.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004867/2.832, allocations: 1.255 MB / 0.9689 GB, free: 56.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002278/2.835, allocations: 8 kB / 0.9689 GB, free: 56.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005226/2.84, allocations: 227.6 kB / 0.9691 GB, free: 56.56 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/2.841, allocations: 266.3 kB / 0.9694 GB, free: 56.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000354/2.841, allocations: 112.5 kB / 0.9695 GB, free: 56.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006626/2.848, allocations: 3.152 MB / 0.9726 GB, free: 53.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.824e-06/2.848, allocations: 2.75 kB / 0.9726 GB, free: 53.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01451/2.863, allocations: 1.914 MB / 0.9744 GB, free: 51.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET1.x[2],$STATESET1.x[1],$STATESET0.x[2],$STATESET0.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.03076/2.893, allocations: 18.01 MB / 0.992 GB, free: 33.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0242/2.918, allocations: 11.36 MB / 1.003 GB, free: 21.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/2.918, allocations: 8 kB / 1.003 GB, free: 21.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00969/2.927, allocations: 4.77 MB / 1.008 GB, free: 17.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006475/2.934, allocations: 0.6676 MB / 1.008 GB, free: 16.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3581/3.292, allocations: 17.32 MB / 1.025 GB, free: 106.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01384/3.306, allocations: 5.636 MB / 1.031 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01383/3.32, allocations: 3.237 MB / 1.034 GB, free: 106 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01093/3.331, allocations: 3.621 MB / 1.038 GB, free: 106 MB / 458.7 MB Notification: Performance of SimCode: time 2.615e-06/3.331, allocations: 0 / 1.038 GB, free: 106 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3091/3.64, allocations: 146.9 MB / 1.181 GB, free: 1.664 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/3.64, allocations: 169.2 kB / 1.181 GB, free: 1.465 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/10.92, allocations: 0 / 1.181 GB, free: 1.465 MB / 458.7 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