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.001634/0.001634, allocations: 110.5 kB / 17.06 MB, free: 6.098 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.001715/0.001715, allocations: 200.1 kB / 18 MB, free: 5.168 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.397/1.397, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 48.02 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 49.44 MB / 400.2 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02488/0.2798, allocations: 20.5 MB / 420.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01652/0.2964, allocations: 6.539 MB / 427.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004848/0.3013, allocations: 163.5 kB / 427.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01364/0.315, allocations: 7.068 MB / 434.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007826/0.3229, allocations: 2.764 MB / 437.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006265/0.3292, allocations: 2.553 MB / 439.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01127/0.3405, allocations: 7.119 MB / 446.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01186/0.3524, allocations: 9.041 MB / 456 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006021/0.3585, allocations: 3.182 MB / 459.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006806/0.3653, allocations: 3.949 MB / 463.1 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002494/0.3678, allocations: 0.7227 MB / 463.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005478/0.3733, allocations: 1.951 MB / 465.8 MB, free: 7.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005637/0.379, allocations: 3.694 MB / 469.5 MB, free: 3.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007979/0.387, allocations: 4.251 MB / 473.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.4058, allocations: 13.48 MB / 487.2 MB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.4059, allocations: 0 / 487.2 MB, free: 1.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4059, allocations: 0 / 487.2 MB, free: 1.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004613/0.4064, allocations: 0 / 487.2 MB, free: 1.586 MB / 398.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.02377/0.4302, allocations: 9.418 MB / 496.6 MB, free: 8.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.4302, allocations: 12.03 kB / 496.6 MB, free: 8.047 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003254/0.4335, allocations: 1.263 MB / 497.9 MB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00903/0.4425, allocations: 2.414 MB / 0.4886 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01054/0.4531, allocations: 5.235 MB / 0.4937 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/0.4536, allocations: 488.5 kB / 0.4942 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002378/0.456, allocations: 0.6403 MB / 0.4948 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03919/0.4952, allocations: 18.5 MB / 0.5129 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/0.4955, allocations: 71.47 kB / 0.5129 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001616/0.4972, allocations: 295.8 kB / 0.5132 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005143/0.5023, allocations: 2.949 MB / 0.5161 GB, free: 7.109 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03543/0.5378, allocations: 15.9 MB / 0.5316 GB, free: 7.191 MB / 462.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.4438/0.9816, allocations: 69.53 MB / 0.5995 GB, free: 70.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02207/1.004, allocations: 8.808 MB / 0.6081 GB, free: 61.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004808/1.009, allocations: 4.997 MB / 0.613 GB, free: 56.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02217/1.031, allocations: 20.2 MB / 0.6327 GB, free: 35.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.031, allocations: 68.59 kB / 0.6328 GB, free: 35.54 MB / 462.1 MB Notification: Performance of pre-optimization done (n=313): time 5.961e-06/1.031, allocations: 0 / 0.6328 GB, free: 35.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=371): time 0.1049/1.136, allocations: 44.11 MB / 0.6759 GB, free: 7.406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01672/1.153, allocations: 12.87 MB / 0.6884 GB, free: 9.734 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009375/1.162, allocations: 6.011 MB / 0.6943 GB, free: 3.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009514/1.163, allocations: 81.69 kB / 0.6944 GB, free: 3.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004516/1.167, allocations: 5.262 MB / 0.6995 GB, free: 14.77 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002269/1.17, allocations: 1.442 MB / 0.7009 GB, free: 13.32 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003523/1.173, allocations: 1.968 MB / 0.7029 GB, free: 11.34 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.173, allocations: 313 kB / 0.7032 GB, free: 11.03 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007193/1.181, allocations: 4.376 MB / 0.7074 GB, free: 6.648 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/1.193, allocations: 9.72 MB / 0.7169 GB, free: 10.31 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02173/1.215, allocations: 15.22 MB / 0.7318 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001779/1.215, allocations: 56 kB / 0.7318 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.2304/1.445, allocations: 17.39 MB / 0.7488 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.445, allocations: 82.31 kB / 0.7489 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/1.446, allocations: 193.1 kB / 0.7491 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009124/1.455, allocations: 3.556 MB / 0.7526 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006682/1.461, allocations: 2.186 MB / 0.7547 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02754/1.489, allocations: 28.96 MB / 0.783 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007718/1.497, allocations: 0.6109 MB / 0.7836 GB, free: 159.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/1.498, allocations: 0.5736 MB / 0.7841 GB, free: 158.9 MB / 0.5294 GB 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.004945/1.503, allocations: 3.504 MB / 0.7876 GB, free: 155.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.504, allocations: 0.5849 MB / 0.7881 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/1.521, allocations: 10.24 MB / 0.7981 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01414/1.535, allocations: 8.966 MB / 0.8069 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01402/1.549, allocations: 8.81 MB / 0.8155 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-05/1.549, allocations: 19.22 kB / 0.8155 GB, free: 126.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03353/1.583, allocations: 23.84 MB / 0.8388 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/1.583, allocations: 4 kB / 0.8388 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/1.586, allocations: 0.6049 MB / 0.8394 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007919/1.594, allocations: 2.958 MB / 0.8423 GB, free: 99.51 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006215/1.595, allocations: 71.97 kB / 0.8423 GB, free: 99.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02311/1.618, allocations: 22.73 MB / 0.8645 GB, free: 76.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005485/1.623, allocations: 6.021 MB / 0.8704 GB, free: 70.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/1.644, allocations: 14.8 MB / 0.8849 GB, free: 55.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.646, allocations: 0.6192 MB / 0.8855 GB, free: 54.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.647, allocations: 63.98 kB / 0.8855 GB, free: 54.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/1.65, allocations: 263.6 kB / 0.8858 GB, free: 54.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007898/1.651, allocations: 241.7 kB / 0.886 GB, free: 54.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002899/1.651, allocations: 95.98 kB / 0.8861 GB, free: 54.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004787/1.656, allocations: 3.743 MB / 0.8898 GB, free: 50.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/1.656, allocations: 0 / 0.8898 GB, free: 50.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008358/1.664, allocations: 2.06 MB / 0.8918 GB, free: 48.29 MB / 0.5294 GB 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.02036/1.685, allocations: 15.56 MB / 0.907 GB, free: 32.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.699, allocations: 11.37 MB / 0.9181 GB, free: 21.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.699, allocations: 0 / 0.9181 GB, free: 21.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006346/1.705, allocations: 4.744 MB / 0.9227 GB, free: 16.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005649/1.711, allocations: 0.9008 MB / 0.9236 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.318/2.029, allocations: 88.07 MB / 1.01 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006811/2.036, allocations: 5.371 MB / 1.015 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006814/2.042, allocations: 3.064 MB / 1.018 GB, free: 111.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004765/2.047, allocations: 3.534 MB / 1.021 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/2.047, allocations: 0 / 1.021 GB, free: 107.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3947/2.442, allocations: 141.2 MB / 1.159 GB, free: 182.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.19/29.64, allocations: 12.86 kB / 1.159 GB, free: 182.2 MB / 0.545 GB (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)