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.0009728/0.0009728, allocations: 92.56 kB / 16.3 MB, free: 5.664 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.001049/0.00105, allocations: 183.3 kB / 17.2 MB, free: 5.605 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.304/1.304, allocations: 223.2 MB / 241.1 MB, free: 14.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 4 kB / 300.8 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1042, allocations: 50.42 MB / 351.2 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3158/0.42, allocations: 86.41 MB / 437.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05534/0.4755, allocations: 19.92 MB / 457.6 MB, free: 9.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02542/0.501, allocations: 454.8 kB / 458 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01741/0.5184, allocations: 4.39 MB / 462.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04944/0.5679, allocations: 12.08 MB / 474.5 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00747/0.5754, allocations: 1.295 MB / 475.8 MB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009613/0.585, allocations: 3.958 MB / 479.7 MB, free: 3.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.6002, allocations: 10.5 MB / 490.2 MB, free: 8.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/0.6044, allocations: 1.865 MB / 492.1 MB, free: 6.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003955/0.6083, allocations: 2.215 MB / 494.3 MB, free: 4.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009891/0.6093, allocations: 252 kB / 494.6 MB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.6123, allocations: 1.291 MB / 495.9 MB, free: 3.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002711/0.6151, allocations: 2.829 MB / 498.7 MB, free: 284 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001843/0.6169, allocations: 1.497 MB / 0.4885 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.6287, allocations: 10.46 MB / 0.4987 GB, free: 4.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.6287, allocations: 0 / 0.4987 GB, free: 4.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.6287, allocations: 0 / 0.4987 GB, free: 4.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004336/0.6292, allocations: 0 / 0.4987 GB, free: 4.281 MB / 414.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.01884/0.648, allocations: 7.895 MB / 0.5064 GB, free: 12.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.6481, allocations: 8.031 kB / 0.5064 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004388/0.6525, allocations: 1.263 MB / 0.5076 GB, free: 11.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.6626, allocations: 2.7 MB / 0.5103 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.6742, allocations: 4.609 MB / 0.5148 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/0.6746, allocations: 484.6 kB / 0.5152 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002393/0.677, allocations: 0.6402 MB / 0.5159 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.431/1.108, allocations: 18.78 MB / 0.5342 GB, free: 143 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000535/1.109, allocations: 66.41 kB / 0.5343 GB, free: 143 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002372/1.111, allocations: 293.4 kB / 0.5345 GB, free: 143 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006489/1.117, allocations: 2.948 MB / 0.5374 GB, free: 142.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0417/1.159, allocations: 16.21 MB / 0.5533 GB, free: 138.2 MB / 446.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.08607/1.245, allocations: 70.01 MB / 0.6216 GB, free: 72.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/1.269, allocations: 9.106 MB / 0.6305 GB, free: 63.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03152/1.3, allocations: 20.32 MB / 0.6504 GB, free: 42.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/1.3, allocations: 64.59 kB / 0.6504 GB, free: 42.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=313): time 6.682e-06/1.3, allocations: 0 / 0.6504 GB, free: 42.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=371): time 0.1125/1.413, allocations: 44.93 MB / 0.6943 GB, free: 13.12 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2266/1.64, allocations: 12.92 MB / 0.7069 GB, free: 148.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.651, allocations: 6.213 MB / 0.713 GB, free: 148.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001164/1.652, allocations: 79.2 kB / 0.7131 GB, free: 148.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004373/1.656, allocations: 5.066 MB / 0.718 GB, free: 145.4 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002595/1.659, allocations: 1.38 MB / 0.7194 GB, free: 144.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008845/1.66, allocations: 189.8 kB / 0.7195 GB, free: 144.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006306/1.66, allocations: 0.7105 MB / 0.7202 GB, free: 143.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008999/1.669, allocations: 4.342 MB / 0.7245 GB, free: 142.3 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/1.681, allocations: 9.641 MB / 0.7339 GB, free: 133.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009395/1.69, allocations: 6.351 MB / 0.7401 GB, free: 131.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001924/1.691, allocations: 50.88 kB / 0.7401 GB, free: 131.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.03695/1.728, allocations: 17.29 MB / 0.757 GB, free: 124.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.728, allocations: 87.61 kB / 0.7571 GB, free: 124.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002047/1.728, allocations: 184 kB / 0.7573 GB, free: 124 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009731/1.738, allocations: 3.572 MB / 0.7608 GB, free: 121.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007547/1.745, allocations: 2.192 MB / 0.7629 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0269/1.772, allocations: 27.72 MB / 0.79 GB, free: 90.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009307/1.782, allocations: 0.6139 MB / 0.7906 GB, free: 90.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/1.784, allocations: 0.5714 MB / 0.7911 GB, free: 89.75 MB / 462.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 (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%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.007107/1.791, allocations: 3.506 MB / 0.7946 GB, free: 86.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/1.792, allocations: 0.563 MB / 0.7951 GB, free: 85.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01732/1.809, allocations: 10.22 MB / 0.8051 GB, free: 75.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01501/1.825, allocations: 8.937 MB / 0.8138 GB, free: 66.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01451/1.839, allocations: 8.8 MB / 0.8224 GB, free: 57.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.255e-05/1.839, allocations: 15.94 kB / 0.8224 GB, free: 57.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0425/1.882, allocations: 23.99 MB / 0.8459 GB, free: 33.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/1.882, allocations: 6.5 kB / 0.8459 GB, free: 33.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/1.885, allocations: 0.6088 MB / 0.8465 GB, free: 32.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008239/1.893, allocations: 2.978 MB / 0.8494 GB, free: 29.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/1.894, allocations: 71.97 kB / 0.8494 GB, free: 29.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2617/2.156, allocations: 21.68 MB / 0.8706 GB, free: 131.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.008734/2.165, allocations: 6.014 MB / 0.8765 GB, free: 128.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02899/2.194, allocations: 15.26 MB / 0.8914 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/2.196, allocations: 0.6131 MB / 0.892 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/2.198, allocations: 67.89 kB / 0.892 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003529/2.201, allocations: 267.8 kB / 0.8923 GB, free: 124.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008681/2.202, allocations: 237.8 kB / 0.8925 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003109/2.202, allocations: 95.27 kB / 0.8926 GB, free: 124.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00622/2.209, allocations: 3.905 MB / 0.8964 GB, free: 123.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.21e-07/2.209, allocations: 0 / 0.8964 GB, free: 123.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01083/2.22, allocations: 2.077 MB / 0.8985 GB, free: 122.9 MB / 462.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 (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%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.02442/2.244, allocations: 16.68 MB / 0.9147 GB, free: 115.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01765/2.262, allocations: 11.28 MB / 0.9258 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.699e-06/2.262, allocations: 7.438 kB / 0.9258 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007356/2.269, allocations: 4.697 MB / 0.9304 GB, free: 104.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/2.274, allocations: 0.794 MB / 0.9311 GB, free: 103.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3003/2.574, allocations: 164.6 MB / 1.092 GB, free: 98.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01198/2.586, allocations: 5.524 MB / 1.097 GB, free: 97.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01006/2.596, allocations: 3.072 MB / 1.1 GB, free: 97.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006667/2.603, allocations: 3.536 MB / 1.104 GB, free: 97.41 MB / 478.1 MB Notification: Performance of SimCode: time 2.064e-06/2.603, allocations: 0 / 1.104 GB, free: 97.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3939/2.997, allocations: 149 MB / 1.249 GB, free: 151.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/2.997, allocations: 241.5 kB / 1.249 GB, free: 151.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.738/8.736, allocations: 4 kB / 1.25 GB, free: 151.5 MB / 494.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/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