Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001732/0.001732, allocations: 198.2 kB / 8.768 MB, free: 316 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 99.84 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.953e-05, allocations: 0 / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09863, allocations: 51.48 MB / 395.3 MB, free: 4.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.4957, allocations: 115.2 MB / 0.4985 GB, free: 10.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.496, allocations: 91.44 kB / 0.4986 GB, free: 10.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6382/1.134, allocations: 141.2 MB / 0.6365 GB, free: 74.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.966e-06/1.134, allocations: 0 / 0.6365 GB, free: 74.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005413/1.135, allocations: 153.9 kB / 0.6366 GB, free: 74.23 MB / 442.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.03047/1.165, allocations: 7.996 MB / 0.6444 GB, free: 70.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.165, allocations: 9.812 kB / 0.6445 GB, free: 70.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/1.181, allocations: 2.887 MB / 0.6473 GB, free: 70.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01832/1.199, allocations: 7.043 MB / 0.6541 GB, free: 67.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004861/1.2, allocations: 257.1 kB / 0.6544 GB, free: 67.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004384/1.204, allocations: 468.3 kB / 0.6548 GB, free: 67.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02383/1.228, allocations: 11.33 MB / 0.6659 GB, free: 63.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03839/1.267, allocations: 16.25 MB / 0.6818 GB, free: 54.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004957/1.267, allocations: 94.19 kB / 0.6819 GB, free: 54.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00384/1.271, allocations: 42.31 kB / 0.6819 GB, free: 54.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003037/1.274, allocations: 1.689 MB / 0.6836 GB, free: 53.61 MB / 442.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.4707/1.745, allocations: 79.57 MB / 0.7613 GB, free: 44.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007686/1.753, allocations: 5.998 MB / 0.7671 GB, free: 43.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00565/1.758, allocations: 4.481 MB / 0.7715 GB, free: 43.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/1.76, allocations: 1.789 MB / 0.7732 GB, free: 42.13 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.725e-05/1.76, allocations: 68.11 kB / 0.7733 GB, free: 42.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=323): time 8.766e-06/1.76, allocations: 0 / 0.7733 GB, free: 42.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=393): time 0.0958/1.856, allocations: 40.35 MB / 0.8127 GB, free: 31.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.856, allocations: 170.6 kB / 0.8129 GB, free: 31.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007676/1.864, allocations: 4.588 MB / 0.8174 GB, free: 30.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001251/1.865, allocations: 33.44 kB / 0.8174 GB, free: 30.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003036/1.868, allocations: 5.117 MB / 0.8224 GB, free: 26.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002397/1.871, allocations: 1.407 MB / 0.8238 GB, free: 25.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007787/1.872, allocations: 2.375 kB / 0.8238 GB, free: 25.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006254/1.872, allocations: 0.7301 MB / 0.8245 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006135/1.878, allocations: 4.282 MB / 0.8287 GB, free: 22.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/1.889, allocations: 9.707 MB / 0.8381 GB, free: 14.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.899, allocations: 6.378 MB / 0.8444 GB, free: 11.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002366/1.899, allocations: 54.53 kB / 0.8444 GB, free: 11.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=1284) (initialization): time 0.03905/1.938, allocations: 16.6 MB / 0.8606 GB, free: 6.504 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/1.939, allocations: 87.97 kB / 0.8607 GB, free: 6.504 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/1.939, allocations: 198.6 kB / 0.8609 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/1.951, allocations: 3.76 MB / 0.8646 GB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/1.961, allocations: 2.309 MB / 0.8668 GB, free: 2.746 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03528/1.997, allocations: 25.82 MB / 0.892 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/2.007, allocations: 468.8 kB / 0.8925 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004035/2.011, allocations: 0.5985 MB / 0.8931 GB, free: 10.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1190): * Single equations (assignments): 1175 * 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.005697/2.017, allocations: 0.5967 MB / 0.8937 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02545/2.043, allocations: 10.89 MB / 0.9043 GB, free: 1.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002406/2.045, allocations: 0.5245 MB / 0.9048 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03547/2.081, allocations: 11.17 MB / 0.9157 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01973/2.1, allocations: 8.987 MB / 0.9245 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.3526/2.453, allocations: 8.882 MB / 0.9332 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001144/2.453, allocations: 18.56 kB / 0.9332 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05183/2.505, allocations: 23.46 MB / 0.9561 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.197e-05/2.505, allocations: 4 kB / 0.9561 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004285/2.509, allocations: 0.653 MB / 0.9567 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01161/2.521, allocations: 2.974 MB / 0.9596 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001116/2.522, allocations: 20.61 kB / 0.9596 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03103/2.553, allocations: 19.86 MB / 0.979 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005784/2.559, allocations: 5.517 MB / 0.9844 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02536/2.584, allocations: 15.52 MB / 0.9996 GB, free: 96.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/2.586, allocations: 0.5575 MB / 1 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/2.588, allocations: 11.28 kB / 1 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00443/2.593, allocations: 220.8 kB / 1 GB, free: 95.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009623/2.594, allocations: 245 kB / 1.001 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003175/2.594, allocations: 105.1 kB / 1.001 GB, free: 95.88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005609/2.6, allocations: 3.084 MB / 1.004 GB, free: 94.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/2.6, allocations: 0 / 1.004 GB, free: 94.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01355/2.613, allocations: 1.906 MB / 1.006 GB, free: 94.75 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 8 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[2],$STATESET5.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 (304): * Single equations (assignments): 296 * 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.026/2.639, allocations: 17.08 MB / 1.022 GB, free: 87.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02062/2.66, allocations: 11.21 MB / 1.033 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.66, allocations: 3.062 kB / 1.033 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009165/2.669, allocations: 4.68 MB / 1.038 GB, free: 80.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006046/2.675, allocations: 0.6651 MB / 1.038 GB, free: 80.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04439/2.72, allocations: 16.97 MB / 1.055 GB, free: 65.49 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007263/2.727, allocations: 5.559 MB / 1.06 GB, free: 61.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0103/2.737, allocations: 3.186 MB / 1.064 GB, free: 59.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006743/2.744, allocations: 3.526 MB / 1.067 GB, free: 56.15 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/2.744, allocations: 0 / 1.067 GB, free: 56.15 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5642/3.309, allocations: 145.1 MB / 1.209 GB, free: 73.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/3.309, allocations: 165.3 kB / 1.209 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/10.59, allocations: 0 / 1.209 GB, free: 73.71 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat