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: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009171/0.0009172, allocations: 88.47 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009969/0.000997, allocations: 202.7 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.632/1.632, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 4 kB / 307.3 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 51.5 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3864/0.5248, allocations: 91.57 MB / 450.4 MB, free: 272 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.06142/0.5862, allocations: 19.04 MB / 469.4 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02942/0.6157, allocations: 462.8 kB / 469.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01789/0.6337, allocations: 4.397 MB / 474.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04407/0.6778, allocations: 12.61 MB / 486.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008511/0.6863, allocations: 1.139 MB / 488 MB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01537/0.7017, allocations: 8.534 MB / 496.5 MB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02245/0.7242, allocations: 10.56 MB / 0.4952 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006606/0.7309, allocations: 2.312 MB / 0.4975 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007802/0.7387, allocations: 3.298 MB / 0.5007 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002464/0.7412, allocations: 256 kB / 0.5009 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/0.7466, allocations: 1.311 MB / 0.5022 GB, free: 108 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006497/0.7532, allocations: 3.055 MB / 0.5052 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005169/0.7584, allocations: 1.505 MB / 0.5067 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01998/0.7784, allocations: 10.44 MB / 0.5169 GB, free: 1.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.7784, allocations: 4 kB / 0.5169 GB, free: 1.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.7784, allocations: 0 / 0.5169 GB, free: 1.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006821/0.7791, allocations: 0 / 0.5169 GB, free: 1.055 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.02841/0.8076, allocations: 7.699 MB / 0.5244 GB, free: 9.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.8076, allocations: 8.031 kB / 0.5244 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01057/0.8182, allocations: 2.392 MB / 0.5267 GB, free: 6.852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.8324, allocations: 4.32 MB / 0.5309 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006506/0.8331, allocations: 488.6 kB / 0.5314 GB, free: 1.969 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003884/0.837, allocations: 0.6402 MB / 0.532 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6759/1.513, allocations: 18.53 MB / 0.5501 GB, free: 39.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003244/1.513, allocations: 65.36 kB / 0.5502 GB, free: 39.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/1.514, allocations: 293.2 kB / 0.5505 GB, free: 39.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004655/1.519, allocations: 2.952 MB / 0.5533 GB, free: 39.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03669/1.556, allocations: 15.9 MB / 0.5689 GB, free: 38.98 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.1009/1.657, allocations: 69.75 MB / 0.637 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02538/1.682, allocations: 8.914 MB / 0.6457 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007328/1.69, allocations: 4.996 MB / 0.6506 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03426/1.724, allocations: 20.25 MB / 0.6703 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/1.724, allocations: 74.17 kB / 0.6704 GB, free: 5.875 MB / 494.1 MB Notification: Performance of pre-optimization done (n=313): time 1.123e-05/1.724, allocations: 0 / 0.6704 GB, free: 5.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=371): time 0.1319/1.856, allocations: 43.75 MB / 0.7131 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01917/1.875, allocations: 12.34 MB / 0.7252 GB, free: 12.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/1.888, allocations: 5.955 MB / 0.731 GB, free: 6.859 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00137/1.889, allocations: 85.53 kB / 0.7311 GB, free: 6.773 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004836/1.894, allocations: 5.056 MB / 0.736 GB, free: 1.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002767/1.897, allocations: 1.387 MB / 0.7374 GB, free: 376 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000623/1.897, allocations: 188.1 kB / 0.7375 GB, free: 188 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.3059/2.203, allocations: 0.7111 MB / 0.7382 GB, free: 237.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01137/2.215, allocations: 4.373 MB / 0.7425 GB, free: 237.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01298/2.228, allocations: 9.723 MB / 0.752 GB, free: 229.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/2.241, allocations: 6.385 MB / 0.7582 GB, free: 227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003011/2.241, allocations: 53.62 kB / 0.7583 GB, free: 227 MB / 0.545 GB Notification: Performance of matching and sorting (n=1254) (initialization): time 0.03982/2.281, allocations: 17.36 MB / 0.7752 GB, free: 220.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004239/2.281, allocations: 85.34 kB / 0.7753 GB, free: 220.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005095/2.282, allocations: 187 kB / 0.7755 GB, free: 220.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/2.292, allocations: 3.57 MB / 0.779 GB, free: 220.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009189/2.301, allocations: 2.207 MB / 0.7811 GB, free: 219.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02967/2.331, allocations: 27.1 MB / 0.8076 GB, free: 195.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01092/2.342, allocations: 0.6197 MB / 0.8082 GB, free: 194.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002861/2.345, allocations: 0.5713 MB / 0.8088 GB, free: 193.9 MB / 0.545 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 (1147): * Single equations (assignments): 1130 * 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.01112/2.356, allocations: 3.502 MB / 0.8122 GB, free: 190.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002596/2.358, allocations: 0.5583 MB / 0.8127 GB, free: 190.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02058/2.379, allocations: 10.24 MB / 0.8227 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01698/2.396, allocations: 8.955 MB / 0.8315 GB, free: 170.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01744/2.414, allocations: 8.823 MB / 0.8401 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000124/2.414, allocations: 15.94 kB / 0.8401 GB, free: 161.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05026/2.464, allocations: 24 MB / 0.8636 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/2.464, allocations: 11.97 kB / 0.8636 GB, free: 137.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003329/2.467, allocations: 0.6046 MB / 0.8642 GB, free: 137.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008628/2.476, allocations: 2.982 MB / 0.8671 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00116/2.477, allocations: 67.98 kB / 0.8671 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02903/2.506, allocations: 21.07 MB / 0.8877 GB, free: 112.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007291/2.514, allocations: 5.852 MB / 0.8934 GB, free: 106.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0305/2.544, allocations: 14.76 MB / 0.9078 GB, free: 91.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/2.547, allocations: 0.5952 MB / 0.9084 GB, free: 91.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002388/2.549, allocations: 67.52 kB / 0.9085 GB, free: 90.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00458/2.554, allocations: 275.5 kB / 0.9088 GB, free: 90.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001466/2.555, allocations: 238 kB / 0.909 GB, free: 90.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009011/2.556, allocations: 95.97 kB / 0.9091 GB, free: 90.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007825/2.564, allocations: 3.703 MB / 0.9127 GB, free: 86.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 4e-07/2.564, allocations: 0 / 0.9127 GB, free: 86.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01346/2.578, allocations: 2.063 MB / 0.9147 GB, free: 84.64 MB / 0.545 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.00179/2.579, allocations: 281.3 kB / 0.915 GB, free: 84.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01968/2.599, allocations: 11.32 MB / 0.926 GB, free: 72.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/2.599, allocations: 0 / 0.926 GB, free: 72.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008237/2.607, allocations: 4.711 MB / 0.9306 GB, free: 68.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008736/2.616, allocations: 0.8472 MB / 0.9315 GB, free: 67.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04135/2.658, allocations: 21.54 MB / 0.9525 GB, free: 45.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009569/2.667, allocations: 5.358 MB / 0.9577 GB, free: 40.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00283/2.67, allocations: 471.3 kB / 0.9582 GB, free: 39.88 MB / 0.545 GB Notification: Performance of SimCode: time 1.784e-06/2.67, allocations: 0 / 0.9582 GB, free: 39.88 MB / 0.545 GB Notification: Performance of Templates: time 0.9557/3.626, allocations: 284.5 MB / 1.236 GB, free: 198.7 MB / 0.545 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraintCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraintCalcHelperMain.o] Error 1