Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009177/0.0009177, allocations: 87.44 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 197.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.652/1.652, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002788, allocations: 8 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.426/0.5664, allocations: 77.4 MB / 436.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05335/0.6198, allocations: 16.45 MB / 452.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02534/0.6452, allocations: 390.9 kB / 453 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01566/0.6609, allocations: 3.631 MB / 456.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04105/0.702, allocations: 10.52 MB / 467.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007251/0.7093, allocations: 1.022 MB / 468.2 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01334/0.7227, allocations: 7.784 MB / 476 MB, free: 6.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0156/0.7383, allocations: 9.5 MB / 485.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005788/0.7442, allocations: 2.121 MB / 487.6 MB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007368/0.7516, allocations: 2.967 MB / 490.6 MB, free: 7.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00286/0.7545, allocations: 220 kB / 490.8 MB, free: 7.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005966/0.7605, allocations: 1.272 MB / 492.1 MB, free: 6.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006129/0.7667, allocations: 2.758 MB / 494.8 MB, free: 3.594 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003777/0.7706, allocations: 1.333 MB / 496.2 MB, free: 2.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.7847, allocations: 9.352 MB / 0.4937 GB, free: 8.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.7848, allocations: 0 / 0.4937 GB, free: 8.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.7848, allocations: 0 / 0.4937 GB, free: 8.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005209/0.7853, allocations: 0 / 0.4937 GB, free: 8.875 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.02084/0.8061, allocations: 6.924 MB / 0.5004 GB, free: 1.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.8062, allocations: 12.03 kB / 0.5004 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009201/0.8154, allocations: 2.307 MB / 0.5027 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.826, allocations: 3.903 MB / 0.5065 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004467/0.8265, allocations: 423.1 kB / 0.5069 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002977/0.8295, allocations: 0.57 MB / 0.5075 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04072/0.8702, allocations: 16.54 MB / 0.5236 GB, free: 9.129 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003367/0.8706, allocations: 59.45 kB / 0.5237 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002124/0.8728, allocations: 267.8 kB / 0.5239 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004453/0.8772, allocations: 2.568 MB / 0.5264 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5947/1.472, allocations: 14.12 MB / 0.5402 GB, free: 140 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.07993/1.552, allocations: 62.38 MB / 0.6011 GB, free: 90.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/1.571, allocations: 7.672 MB / 0.6086 GB, free: 82.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005144/1.576, allocations: 3.92 MB / 0.6125 GB, free: 78.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0207/1.597, allocations: 16.66 MB / 0.6287 GB, free: 61.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/1.597, allocations: 60.56 kB / 0.6288 GB, free: 61.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 6.151e-06/1.597, allocations: 0 / 0.6288 GB, free: 61.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=316): time 0.1026/1.7, allocations: 39.61 MB / 0.6675 GB, free: 21.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01537/1.715, allocations: 11.63 MB / 0.6788 GB, free: 9.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/1.726, allocations: 5.602 MB / 0.6843 GB, free: 4.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001002/1.727, allocations: 69.7 kB / 0.6844 GB, free: 3.938 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003476/1.731, allocations: 4.659 MB / 0.6889 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00232/1.733, allocations: 1.186 MB / 0.6901 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/1.734, allocations: 179.8 kB / 0.6902 GB, free: 13.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.001028/1.735, allocations: 0.6898 MB / 0.6909 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008068/1.744, allocations: 3.921 MB / 0.6947 GB, free: 9.297 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3215/2.065, allocations: 9.091 MB / 0.7036 GB, free: 139.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/2.079, allocations: 5.834 MB / 0.7093 GB, free: 139 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003489/2.079, allocations: 51.47 kB / 0.7094 GB, free: 139 MB / 462.1 MB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.04575/2.125, allocations: 16.72 MB / 0.7257 GB, free: 133.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005351/2.125, allocations: 83.16 kB / 0.7258 GB, free: 133.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006368/2.126, allocations: 185.4 kB / 0.726 GB, free: 133.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01322/2.139, allocations: 4.221 MB / 0.7301 GB, free: 132.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007641/2.147, allocations: 2.035 MB / 0.7321 GB, free: 132.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03885/2.186, allocations: 30.4 MB / 0.7618 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01108/2.197, allocations: 0.5375 MB / 0.7623 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002933/2.2, allocations: 0.5492 MB / 0.7628 GB, free: 107.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 826 * Number of states: 0 () * Number of discrete variables: 62 (sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1061): * Single equations (assignments): 1048 * 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,(2,100.0%) 13,(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.009995/2.21, allocations: 3.194 MB / 0.7659 GB, free: 104.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/2.212, allocations: 0.5167 MB / 0.7664 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02101/2.233, allocations: 9.276 MB / 0.7755 GB, free: 94.46 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001234/2.233, allocations: 40.86 kB / 0.7755 GB, free: 94.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01849/2.252, allocations: 7.903 MB / 0.7833 GB, free: 86.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001134/2.252, allocations: 11.95 kB / 0.7833 GB, free: 86.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04857/2.301, allocations: 21.38 MB / 0.8041 GB, free: 64.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.524e-05/2.301, allocations: 0.6562 kB / 0.8041 GB, free: 64.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/2.303, allocations: 495.6 kB / 0.8046 GB, free: 64.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009434/2.313, allocations: 3.029 MB / 0.8076 GB, free: 61.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009622/2.314, allocations: 53.02 kB / 0.8076 GB, free: 61.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02798/2.342, allocations: 21.58 MB / 0.8287 GB, free: 39.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01187/2.354, allocations: 8.88 MB / 0.8374 GB, free: 30.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02688/2.381, allocations: 12.96 MB / 0.85 GB, free: 17.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/2.383, allocations: 0.549 MB / 0.8506 GB, free: 16.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002055/2.385, allocations: 59.98 kB / 0.8506 GB, free: 16.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004389/2.389, allocations: 215.6 kB / 0.8508 GB, free: 16.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/2.391, allocations: 198.4 kB / 0.851 GB, free: 16.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007239/2.391, allocations: 88.33 kB / 0.8511 GB, free: 16.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.007841/2.399, allocations: 3.479 MB / 0.8545 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/2.399, allocations: 0 / 0.8545 GB, free: 12.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01261/2.412, allocations: 1.903 MB / 0.8564 GB, free: 10.68 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (219): * Single equations (assignments): 211 * 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.001578/2.414, allocations: 266 kB / 0.8566 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02247/2.436, allocations: 10.16 MB / 0.8665 GB, free: 204 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/2.436, allocations: 0.6562 kB / 0.8665 GB, free: 204 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01076/2.447, allocations: 3.831 MB / 0.8703 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2887/2.736, allocations: 0.7724 MB / 0.871 GB, free: 154.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04253/2.778, allocations: 18.97 MB / 0.8895 GB, free: 147.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/2.789, allocations: 4.852 MB / 0.8943 GB, free: 146.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00206/2.791, allocations: 417.4 kB / 0.8947 GB, free: 146.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/2.791, allocations: 3.938 kB / 0.8947 GB, free: 146.7 MB / 478.1 MB Notification: Performance of Templates: time 0.6926/3.483, allocations: 254.7 MB / 1.143 GB, free: 69.05 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.o] Error 1