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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 107.5 kB / 16.92 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.6 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 39.41 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09808, allocations: 49.45 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2022/0.3003, allocations: 20.5 MB / 370.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.3145, allocations: 6.531 MB / 377.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/0.3188, allocations: 162.8 kB / 377.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01186/0.3307, allocations: 7.074 MB / 384.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008027/0.3387, allocations: 2.769 MB / 387.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005463/0.3442, allocations: 2.542 MB / 389.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.3562, allocations: 7.138 MB / 396.9 MB, free: 1.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01203/0.3683, allocations: 9.048 MB / 405.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005631/0.3739, allocations: 3.177 MB / 409.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005705/0.3797, allocations: 3.949 MB / 413.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.3813, allocations: 0.7266 MB / 413.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.3856, allocations: 1.946 MB / 415.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00358/0.3892, allocations: 3.69 MB / 419.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005237/0.3945, allocations: 4.256 MB / 423.7 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01345/0.4079, allocations: 13.08 MB / 436.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.408, allocations: 0 / 436.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.408, allocations: 0 / 436.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003573/0.4084, allocations: 0 / 436.8 MB, free: 12.06 MB / 350.1 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.02261/0.431, allocations: 9.196 MB / 445.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4311, allocations: 12.03 kB / 446 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003008/0.4341, allocations: 1.267 MB / 447.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009086/0.4432, allocations: 2.357 MB / 449.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.4535, allocations: 5.102 MB / 454.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004021/0.454, allocations: 488.9 kB / 455.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002478/0.4564, allocations: 0.6443 MB / 455.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0358/0.4923, allocations: 18.49 MB / 474.3 MB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/0.4926, allocations: 75.3 kB / 474.4 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/0.4936, allocations: 293.9 kB / 474.7 MB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004687/0.4983, allocations: 2.944 MB / 477.6 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0336/0.532, allocations: 15.89 MB / 493.5 MB, free: 2.695 MB / 398.1 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.4497/0.9817, allocations: 69.79 MB / 0.5501 GB, free: 104.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02635/1.008, allocations: 8.812 MB / 0.5587 GB, free: 103.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005318/1.013, allocations: 4.995 MB / 0.5636 GB, free: 102.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02514/1.039, allocations: 20.18 MB / 0.5833 GB, free: 91.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/1.039, allocations: 62.72 kB / 0.5833 GB, free: 91.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=313): time 7.233e-06/1.039, allocations: 3.938 kB / 0.5833 GB, free: 91.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=371): time 0.1043/1.143, allocations: 43.73 MB / 0.626 GB, free: 52.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01181/1.155, allocations: 12.88 MB / 0.6386 GB, free: 39.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006977/1.162, allocations: 6 MB / 0.6445 GB, free: 33.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.163, allocations: 77.7 kB / 0.6446 GB, free: 32.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.165, allocations: 5.068 MB / 0.6495 GB, free: 27.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001701/1.167, allocations: 1.381 MB / 0.6508 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002371/1.169, allocations: 1.958 MB / 0.6528 GB, free: 24.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/1.17, allocations: 309.2 kB / 0.6531 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005114/1.175, allocations: 4.372 MB / 0.6573 GB, free: 19.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008927/1.184, allocations: 9.725 MB / 0.6668 GB, free: 7.633 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01772/1.201, allocations: 15.22 MB / 0.6817 GB, free: 5.809 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000155/1.202, allocations: 56 kB / 0.6817 GB, free: 5.754 MB / 462.1 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.03402/1.236, allocations: 17.36 MB / 0.6987 GB, free: 4.301 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/1.236, allocations: 92.94 kB / 0.6988 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/1.236, allocations: 184 kB / 0.699 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/1.247, allocations: 3.553 MB / 0.7024 GB, free: 480 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2028/1.45, allocations: 2.184 MB / 0.7046 GB, free: 153.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03429/1.484, allocations: 28.97 MB / 0.7328 GB, free: 138.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009726/1.494, allocations: 0.6105 MB / 0.7334 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002763/1.496, allocations: 0.5726 MB / 0.734 GB, free: 138.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 851 * Number of states: 0 () * Number of discrete variables: 68 (sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1139): * Single equations (assignments): 1122 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,20,100.0%), (1,7,100.0%), (2,24,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.007335/1.504, allocations: 3.505 MB / 0.7374 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001237/1.505, allocations: 0.5689 MB / 0.738 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01886/1.524, allocations: 10.24 MB / 0.748 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01681/1.541, allocations: 8.963 MB / 0.7567 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01564/1.556, allocations: 8.821 MB / 0.7653 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.29e-05/1.557, allocations: 15.94 kB / 0.7654 GB, free: 121.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03832/1.595, allocations: 23.99 MB / 0.7888 GB, free: 97.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/1.595, allocations: 4 kB / 0.7888 GB, free: 97.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/1.598, allocations: 0.6044 MB / 0.7894 GB, free: 97.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008165/1.607, allocations: 2.97 MB / 0.7923 GB, free: 94.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006565/1.607, allocations: 71.97 kB / 0.7923 GB, free: 94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02468/1.632, allocations: 22.67 MB / 0.8145 GB, free: 71.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006164/1.638, allocations: 6.022 MB / 0.8204 GB, free: 64.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02271/1.661, allocations: 14.75 MB / 0.8348 GB, free: 50.22 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/1.663, allocations: 0.5868 MB / 0.8353 GB, free: 49.63 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002272/1.666, allocations: 63.98 kB / 0.8354 GB, free: 49.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004133/1.67, allocations: 267.6 kB / 0.8357 GB, free: 49.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009282/1.671, allocations: 231.9 kB / 0.8359 GB, free: 49.08 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002728/1.671, allocations: 98.56 kB / 0.836 GB, free: 48.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00588/1.677, allocations: 3.746 MB / 0.8396 GB, free: 45.24 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.91e-07/1.677, allocations: 0 / 0.8396 GB, free: 45.24 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009697/1.687, allocations: 2.055 MB / 0.8416 GB, free: 43.2 MB / 478.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,19,75.0%), (3,17,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02168/1.708, allocations: 15.53 MB / 0.8568 GB, free: 27.55 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.211/1.919, allocations: 16.9 MB / 0.8733 GB, free: 156.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.919, allocations: 2.594 kB / 0.8733 GB, free: 156.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007777/1.927, allocations: 4.725 MB / 0.8779 GB, free: 155.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/1.932, allocations: 0.9001 MB / 0.8788 GB, free: 155.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1196/2.052, allocations: 103.9 MB / 0.9803 GB, free: 63.63 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006076/2.058, allocations: 5.365 MB / 0.9856 GB, free: 58.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007162/2.065, allocations: 3.071 MB / 0.9886 GB, free: 55.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004054/2.069, allocations: 3.526 MB / 0.992 GB, free: 51.63 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/2.069, allocations: 0 / 0.992 GB, free: 51.63 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.401/2.47, allocations: 146.3 MB / 1.135 GB, free: 83.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/18.88, allocations: 14.64 kB / 1.135 GB, free: 83.61 MB / 478.1 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/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)