Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007837/0.0007901, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.0008151/0.0008151, allocations: 187.8 kB / 18.48 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 224.6 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004922, allocations: 11.94 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1144, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3511/0.4656, allocations: 78.09 MB / 407.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04728/0.5129, allocations: 16.53 MB / 423.6 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02247/0.5354, allocations: 389.8 kB / 424 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01349/0.549, allocations: 3.644 MB / 427.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03947/0.5885, allocations: 10.59 MB / 438.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007032/0.5956, allocations: 1.033 MB / 439.3 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01327/0.6089, allocations: 7.76 MB / 447 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01833/0.6273, allocations: 9.567 MB / 456.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006789/0.6341, allocations: 2.156 MB / 458.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007056/0.6412, allocations: 3.049 MB / 461.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002434/0.6437, allocations: 232 kB / 462 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005639/0.6494, allocations: 1.283 MB / 463.3 MB, free: 164 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005073/0.6545, allocations: 2.821 MB / 466.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003596/0.6581, allocations: 1.353 MB / 467.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.6727, allocations: 9.537 MB / 477 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.739e-06/0.6727, allocations: 0 / 477 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.512e-06/0.6728, allocations: 0 / 477 MB, free: 2.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005967/0.6734, allocations: 3.938 kB / 477 MB, free: 2.406 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.02259/0.696, allocations: 6.895 MB / 483.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.696, allocations: 12.03 kB / 483.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009591/0.7056, allocations: 2.315 MB / 486.2 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.7165, allocations: 4.107 MB / 490.3 MB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/0.7171, allocations: 435.3 kB / 490.8 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002853/0.7199, allocations: 0.5816 MB / 491.4 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03991/0.7598, allocations: 16.81 MB / 0.4962 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000298/0.7602, allocations: 55.47 kB / 0.4963 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001546/0.7618, allocations: 271.8 kB / 0.4966 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004192/0.766, allocations: 2.635 MB / 0.4991 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03304/0.799, allocations: 14.37 MB / 0.5132 GB, free: 0.8398 MB / 414.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.5605/1.36, allocations: 63.24 MB / 0.5749 GB, free: 122.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/1.381, allocations: 7.744 MB / 0.5825 GB, free: 120.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006094/1.387, allocations: 3.974 MB / 0.5864 GB, free: 118.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02683/1.414, allocations: 16.78 MB / 0.6027 GB, free: 109.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/1.414, allocations: 58.5 kB / 0.6028 GB, free: 109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 7.133e-06/1.414, allocations: 0 / 0.6028 GB, free: 109 MB / 446.1 MB Notification: Performance of matching and sorting (n=325): time 0.109/1.523, allocations: 39.94 MB / 0.6418 GB, free: 72.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01581/1.539, allocations: 11.61 MB / 0.6531 GB, free: 60.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/1.55, allocations: 5.708 MB / 0.6587 GB, free: 54.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001274/1.552, allocations: 71.11 kB / 0.6588 GB, free: 54.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00374/1.555, allocations: 4.735 MB / 0.6634 GB, free: 49.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002426/1.558, allocations: 1.227 MB / 0.6646 GB, free: 48.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008345/1.559, allocations: 180 kB / 0.6648 GB, free: 48.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005919/1.559, allocations: 0.6944 MB / 0.6655 GB, free: 47.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005979/1.565, allocations: 3.973 MB / 0.6693 GB, free: 43.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.576, allocations: 9.232 MB / 0.6784 GB, free: 31.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/1.586, allocations: 5.92 MB / 0.6841 GB, free: 26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/1.586, allocations: 52 kB / 0.6842 GB, free: 25.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.03958/1.626, allocations: 16.91 MB / 0.7007 GB, free: 8.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.626, allocations: 88.03 kB / 0.7008 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002498/1.626, allocations: 184 kB / 0.701 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/1.639, allocations: 4.233 MB / 0.7051 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007541/1.646, allocations: 2.07 MB / 0.7071 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3437/1.99, allocations: 30.4 MB / 0.7368 GB, free: 127.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/2.001, allocations: 0.5432 MB / 0.7373 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002411/2.004, allocations: 0.5546 MB / 0.7379 GB, free: 127.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (1083): * Single equations (assignments): 1070 * Array equations: 6 * 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%) 25,(2,100.0%) 11,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.008469/2.012, allocations: 3.248 MB / 0.741 GB, free: 126 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/2.013, allocations: 0.522 MB / 0.7416 GB, free: 126 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/2.033, allocations: 9.398 MB / 0.7507 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001215/2.033, allocations: 50.7 kB / 0.7508 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0161/2.049, allocations: 7.972 MB / 0.7586 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001279/2.049, allocations: 15.94 kB / 0.7586 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04185/2.091, allocations: 21.94 MB / 0.78 GB, free: 96.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.898e-05/2.091, allocations: 8 kB / 0.78 GB, free: 96.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/2.094, allocations: 0.4953 MB / 0.7805 GB, free: 96.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009152/2.103, allocations: 3.03 MB / 0.7835 GB, free: 93.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008986/2.104, allocations: 66.28 kB / 0.7835 GB, free: 93.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02581/2.13, allocations: 21.59 MB / 0.8046 GB, free: 71.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01101/2.141, allocations: 8.875 MB / 0.8133 GB, free: 62.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02244/2.163, allocations: 13.2 MB / 0.8262 GB, free: 48.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004797/2.168, allocations: 1.107 MB / 0.8272 GB, free: 47.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001965/2.17, allocations: 56.66 kB / 0.8273 GB, free: 47.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003924/2.174, allocations: 224.1 kB / 0.8275 GB, free: 47.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008714/2.175, allocations: 220.6 kB / 0.8277 GB, free: 47.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002746/2.175, allocations: 95.31 kB / 0.8278 GB, free: 47.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007017/2.182, allocations: 3.547 MB / 0.8313 GB, free: 43.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/2.182, allocations: 0 / 0.8313 GB, free: 43.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01258/2.195, allocations: 1.922 MB / 0.8331 GB, free: 41.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (229): * Single equations (assignments): 221 * 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 {(1,100.0%) 11,(3,100.0%) 22,(3,100.0%) 13} * Non-linear torn systems: 1 {3 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001465/2.197, allocations: 250.4 kB / 0.8334 GB, free: 41.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01734/2.214, allocations: 10.29 MB / 0.8434 GB, free: 31.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.577e-05/2.214, allocations: 0 / 0.8434 GB, free: 31.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007188/2.221, allocations: 3.87 MB / 0.8472 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008312/2.23, allocations: 0.7899 MB / 0.848 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/2.264, allocations: 19.39 MB / 0.8669 GB, free: 7.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2626/2.527, allocations: 4.929 MB / 0.8717 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/2.529, allocations: 426.2 kB / 0.8721 GB, free: 135.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/2.529, allocations: 0 / 0.8721 GB, free: 135.7 MB / 446.1 MB Notification: Performance of Templates: time 0.5623/3.092, allocations: 259.5 MB / 1.126 GB, free: 79.94 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.o] Error 1