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.001766/0.001766, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009573, allocations: 85.66 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.728e-05, allocations: 0 / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09349, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/0.4564, allocations: 114.8 MB / 0.4906 GB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.4567, allocations: 89.48 kB / 0.4907 GB, free: 11.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6027/1.059, allocations: 137.4 MB / 0.6249 GB, free: 82.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.784e-06/1.059, allocations: 0 / 0.6249 GB, free: 82.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006841/1.06, allocations: 163.9 kB / 0.625 GB, free: 81.89 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.03138/1.092, allocations: 7.837 MB / 0.6327 GB, free: 73.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.796e-05/1.092, allocations: 8.031 kB / 0.6327 GB, free: 73.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/1.107, allocations: 2.89 MB / 0.6355 GB, free: 71.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02185/1.129, allocations: 7.69 MB / 0.643 GB, free: 63.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005369/1.129, allocations: 252 kB / 0.6433 GB, free: 63.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004886/1.134, allocations: 471.8 kB / 0.6437 GB, free: 62.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02424/1.158, allocations: 11.34 MB / 0.6548 GB, free: 51.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04478/1.203, allocations: 16.26 MB / 0.6707 GB, free: 33.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008844/1.204, allocations: 83.19 kB / 0.6707 GB, free: 33.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004629/1.209, allocations: 47.94 kB / 0.6708 GB, free: 33.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/1.212, allocations: 1.688 MB / 0.6724 GB, free: 31.92 MB / 426.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.4043/1.616, allocations: 79.57 MB / 0.7501 GB, free: 51.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009109/1.625, allocations: 5.995 MB / 0.756 GB, free: 51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007091/1.632, allocations: 4.487 MB / 0.7604 GB, free: 50.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/1.635, allocations: 1.788 MB / 0.7621 GB, free: 49.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.635, allocations: 65.61 kB / 0.7622 GB, free: 49.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=323): time 8.896e-06/1.635, allocations: 3.719 kB / 0.7622 GB, free: 49.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=393): time 0.1035/1.738, allocations: 40.36 MB / 0.8016 GB, free: 39.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/1.738, allocations: 171.9 kB / 0.8018 GB, free: 39.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01144/1.75, allocations: 4.589 MB / 0.8062 GB, free: 37.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001233/1.751, allocations: 25.7 kB / 0.8063 GB, free: 37.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003746/1.755, allocations: 5.117 MB / 0.8113 GB, free: 33.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002419/1.757, allocations: 1.416 MB / 0.8126 GB, free: 32.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/1.759, allocations: 0 / 0.8126 GB, free: 32.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001027/1.76, allocations: 0.719 MB / 0.8133 GB, free: 31.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006898/1.767, allocations: 4.289 MB / 0.8175 GB, free: 30.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/1.777, allocations: 9.705 MB / 0.827 GB, free: 18.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.788, allocations: 6.382 MB / 0.8332 GB, free: 13.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003277/1.788, allocations: 56 kB / 0.8333 GB, free: 13.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=1284) (initialization): time 0.03776/1.826, allocations: 16.58 MB / 0.8495 GB, free: 212 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000297/1.826, allocations: 88 kB / 0.8496 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001002/1.827, allocations: 233.9 kB / 0.8498 GB, free: 0 / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01312/1.841, allocations: 3.807 MB / 0.8535 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009688/1.85, allocations: 2.315 MB / 0.8558 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03621/1.887, allocations: 25.77 MB / 0.881 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/1.897, allocations: 469.1 kB / 0.8814 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003189/1.9, allocations: 0.5942 MB / 0.882 GB, free: 3.496 MB / 474.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.00417/1.905, allocations: 0.6119 MB / 0.8826 GB, free: 2.879 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02741/1.932, allocations: 10.87 MB / 0.8932 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002479/1.935, allocations: 0.5361 MB / 0.8937 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3703/2.305, allocations: 10.28 MB / 0.9037 GB, free: 123 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02536/2.33, allocations: 8.986 MB / 0.9125 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02244/2.353, allocations: 8.882 MB / 0.9212 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001369/2.353, allocations: 17.06 kB / 0.9212 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06165/2.415, allocations: 23.45 MB / 0.9441 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.479e-05/2.415, allocations: 3.062 kB / 0.9441 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004368/2.419, allocations: 0.6574 MB / 0.9448 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009743/2.429, allocations: 2.975 MB / 0.9477 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0014/2.43, allocations: 16.45 kB / 0.9477 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02741/2.458, allocations: 19.87 MB / 0.9671 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006145/2.464, allocations: 5.515 MB / 0.9725 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03268/2.497, allocations: 15.52 MB / 0.9876 GB, free: 97.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/2.499, allocations: 0.5661 MB / 0.9882 GB, free: 97.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002913/2.502, allocations: 6.812 kB / 0.9882 GB, free: 97.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005756/2.508, allocations: 220.4 kB / 0.9884 GB, free: 97.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001743/2.51, allocations: 250.4 kB / 0.9886 GB, free: 97.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009862/2.511, allocations: 106.1 kB / 0.9887 GB, free: 97.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007334/2.518, allocations: 3.082 MB / 0.9917 GB, free: 95.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.42e-07/2.518, allocations: 0 / 0.9917 GB, free: 95.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01284/2.531, allocations: 1.892 MB / 0.9936 GB, free: 94.06 MB / 490.7 MB 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.03222/2.563, allocations: 17.06 MB / 1.01 GB, free: 79.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0191/2.582, allocations: 11.22 MB / 1.021 GB, free: 69.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/2.582, allocations: 0 / 1.021 GB, free: 69.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008832/2.591, allocations: 4.69 MB / 1.026 GB, free: 65.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006704/2.598, allocations: 0.6625 MB / 1.026 GB, free: 64.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05336/2.651, allocations: 16.96 MB / 1.043 GB, free: 49.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01718/2.669, allocations: 5.546 MB / 1.048 GB, free: 43.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01216/2.681, allocations: 3.188 MB / 1.052 GB, free: 40.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008274/2.689, allocations: 3.525 MB / 1.055 GB, free: 37.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/2.689, allocations: 0 / 1.055 GB, free: 37.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5877/3.277, allocations: 145 MB / 1.197 GB, free: 49.49 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/3.277, allocations: 169.6 kB / 1.197 GB, free: 49.29 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/10.5, allocations: 0 / 1.197 GB, free: 49.29 MB / 490.7 MB (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