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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001221/0.00122, allocations: 96.33 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 207.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002857, allocations: 8 kB / 306.7 MB, free: 1.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3196/0.4351, allocations: 86.43 MB / 444.6 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05067/0.4858, allocations: 19.94 MB / 464.6 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02225/0.5081, allocations: 458.8 kB / 465 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01614/0.5243, allocations: 4.394 MB / 469.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04166/0.5659, allocations: 12.06 MB / 481.5 MB, free: 15.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006864/0.5728, allocations: 1.279 MB / 482.8 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008497/0.5813, allocations: 4.064 MB / 486.8 MB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01544/0.5968, allocations: 10.49 MB / 497.3 MB, free: 60 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.6007, allocations: 1.861 MB / 499.2 MB, free: 14.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.6046, allocations: 2.223 MB / 0.4896 GB, free: 11.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.6057, allocations: 252 kB / 0.4899 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.6088, allocations: 1.272 MB / 0.4911 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003041/0.6118, allocations: 2.833 MB / 0.4939 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.6141, allocations: 1.497 MB / 0.4954 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.6264, allocations: 10.46 MB / 0.5056 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6264, allocations: 0 / 0.5056 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6264, allocations: 0 / 0.5056 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004749/0.6269, allocations: 0 / 0.5056 GB, free: 11.61 MB / 430.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.02047/0.6474, allocations: 8.027 MB / 0.5134 GB, free: 3.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.6474, allocations: 8.031 kB / 0.5134 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004139/0.6516, allocations: 1.267 MB / 0.5146 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.6617, allocations: 2.7 MB / 0.5173 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/0.6752, allocations: 4.609 MB / 0.5218 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007413/0.676, allocations: 480.6 kB / 0.5222 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003872/0.6799, allocations: 0.6441 MB / 0.5229 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5374/1.217, allocations: 18.82 MB / 0.5413 GB, free: 38.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003825/1.218, allocations: 65.94 kB / 0.5413 GB, free: 38.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001857/1.22, allocations: 300 kB / 0.5416 GB, free: 38.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006034/1.226, allocations: 2.946 MB / 0.5445 GB, free: 38.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03585/1.262, allocations: 16.25 MB / 0.5603 GB, free: 38.87 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.09237/1.354, allocations: 70 MB / 0.6287 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0265/1.381, allocations: 9.138 MB / 0.6376 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03462/1.415, allocations: 20.42 MB / 0.6576 GB, free: 4.043 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.726e-05/1.415, allocations: 73.73 kB / 0.6576 GB, free: 3.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=313): time 6.091e-06/1.415, allocations: 0 / 0.6576 GB, free: 3.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=371): time 0.1371/1.552, allocations: 45.05 MB / 0.7016 GB, free: 9.516 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01723/1.57, allocations: 12.91 MB / 0.7142 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/1.585, allocations: 6.214 MB / 0.7203 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001484/1.586, allocations: 87.05 kB / 0.7204 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004897/1.591, allocations: 5.061 MB / 0.7253 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.2566/1.848, allocations: 1.371 MB / 0.7267 GB, free: 221.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009915/1.849, allocations: 190.9 kB / 0.7269 GB, free: 221.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0006741/1.849, allocations: 0.7116 MB / 0.7276 GB, free: 221.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007757/1.857, allocations: 4.356 MB / 0.7318 GB, free: 221.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.868, allocations: 9.658 MB / 0.7412 GB, free: 213 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.88, allocations: 6.364 MB / 0.7475 GB, free: 210.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003462/1.88, allocations: 52.97 kB / 0.7475 GB, free: 210.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.03584/1.916, allocations: 17.31 MB / 0.7644 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004326/1.916, allocations: 87.88 kB / 0.7645 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004896/1.917, allocations: 187.2 kB / 0.7647 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/1.927, allocations: 3.57 MB / 0.7682 GB, free: 203.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008245/1.935, allocations: 2.194 MB / 0.7703 GB, free: 203.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02884/1.964, allocations: 27.71 MB / 0.7974 GB, free: 177.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009227/1.973, allocations: 0.6197 MB / 0.798 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/1.975, allocations: 0.5676 MB / 0.7985 GB, free: 176.7 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 (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.007214/1.983, allocations: 3.51 MB / 0.8019 GB, free: 173.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.984, allocations: 0.5652 MB / 0.8025 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/2.001, allocations: 10.24 MB / 0.8125 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01574/2.017, allocations: 8.955 MB / 0.8213 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01607/2.033, allocations: 8.829 MB / 0.8299 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.26e-05/2.033, allocations: 19.94 kB / 0.8299 GB, free: 144.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04141/2.075, allocations: 24.01 MB / 0.8533 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/2.075, allocations: 4.375 kB / 0.8533 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003211/2.078, allocations: 0.6201 MB / 0.854 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008095/2.086, allocations: 2.971 MB / 0.8569 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006826/2.087, allocations: 67.98 kB / 0.8569 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02347/2.11, allocations: 21.7 MB / 0.8781 GB, free: 94.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005919/2.116, allocations: 6.023 MB / 0.884 GB, free: 88.07 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02289/2.139, allocations: 15.3 MB / 0.8989 GB, free: 72.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/2.141, allocations: 0.6147 MB / 0.8995 GB, free: 71.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/2.142, allocations: 60 kB / 0.8996 GB, free: 71.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003303/2.145, allocations: 271.6 kB / 0.8999 GB, free: 71.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007245/2.146, allocations: 229.9 kB / 0.9001 GB, free: 71.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002743/2.146, allocations: 103.4 kB / 0.9002 GB, free: 71.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005654/2.152, allocations: 3.903 MB / 0.904 GB, free: 67.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/2.152, allocations: 0 / 0.904 GB, free: 67.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01138/2.163, allocations: 2.081 MB / 0.906 GB, free: 65.25 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 (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.02377/2.187, allocations: 16.74 MB / 0.9224 GB, free: 48.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01777/2.205, allocations: 11.29 MB / 0.9334 GB, free: 36.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.205, allocations: 0 / 0.9334 GB, free: 36.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.008313/2.213, allocations: 4.712 MB / 0.938 GB, free: 32.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006007/2.22, allocations: 0.8043 MB / 0.9388 GB, free: 31.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3056/2.525, allocations: 164.6 MB / 1.1 GB, free: 62.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/2.536, allocations: 5.533 MB / 1.105 GB, free: 62.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009616/2.546, allocations: 3.075 MB / 1.108 GB, free: 61.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005829/2.552, allocations: 3.53 MB / 1.111 GB, free: 60.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/2.552, allocations: 4 kB / 1.111 GB, free: 60.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.773/5.325, allocations: 149 MB / 1.257 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/5.325, allocations: 241 kB / 1.257 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.04/11.37, allocations: 3.875 kB / 1.257 GB, free: 162.2 MB / 0.5294 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