Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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: 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_4.0.0_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_4.0.0_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.001132/0.001132, allocations: 98.86 kB / 16.96 MB, free: 5.301 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.00168/0.00168, allocations: 186.8 kB / 17.84 MB, free: 4.934 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.545/1.545, allocations: 223.2 MB / 241.9 MB, free: 140 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002767/0.0002767, allocations: 9.219 kB / 301.5 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 50.42 MB / 351.9 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3738/0.5034, allocations: 77.38 MB / 429.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05189/0.5554, allocations: 16.43 MB / 445.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0234/0.5789, allocations: 390.9 kB / 446.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0149/0.5938, allocations: 3.635 MB / 449.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03765/0.6315, allocations: 10.55 MB / 460.3 MB, free: 8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006426/0.6379, allocations: 1.033 MB / 461.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01251/0.6505, allocations: 7.604 MB / 468.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01636/0.6669, allocations: 9.525 MB / 478.4 MB, free: 5.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005984/0.6729, allocations: 2.11 MB / 480.5 MB, free: 3.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006828/0.6798, allocations: 2.963 MB / 483.5 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002146/0.682, allocations: 224 kB / 483.7 MB, free: 444 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004878/0.6869, allocations: 1.291 MB / 485 MB, free: 15.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005578/0.6925, allocations: 2.758 MB / 487.8 MB, free: 12.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004464/0.697, allocations: 1.333 MB / 489.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01638/0.7134, allocations: 9.352 MB / 498.4 MB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.7135, allocations: 0 / 498.4 MB, free: 1.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.877e-06/0.7135, allocations: 0 / 498.4 MB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000776/0.7143, allocations: 3.938 kB / 498.4 MB, free: 1.652 MB / 398.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.02442/0.7387, allocations: 6.797 MB / 0.4934 GB, free: 10.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7388, allocations: 8.031 kB / 0.4934 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009725/0.7485, allocations: 2.299 MB / 0.4957 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.7593, allocations: 3.962 MB / 0.4995 GB, free: 4.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/0.7598, allocations: 427.1 kB / 0.4999 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003196/0.763, allocations: 0.57 MB / 0.5005 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04647/0.8095, allocations: 16.51 MB / 0.5166 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005377/0.8101, allocations: 59.47 kB / 0.5167 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003227/0.8134, allocations: 259.8 kB / 0.5169 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004669/0.818, allocations: 2.572 MB / 0.5194 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03733/0.8554, allocations: 14.08 MB / 0.5332 GB, free: 1.02 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.7702/1.626, allocations: 62.37 MB / 0.5941 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/1.645, allocations: 7.621 MB / 0.6015 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004711/1.649, allocations: 3.928 MB / 0.6054 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02063/1.67, allocations: 16.58 MB / 0.6216 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/1.67, allocations: 63.05 kB / 0.6216 GB, free: 19.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=265): time 5.11e-06/1.67, allocations: 0 / 0.6216 GB, free: 19.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=316): time 0.09882/1.769, allocations: 39.49 MB / 0.6602 GB, free: 15.33 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01826/1.787, allocations: 11.64 MB / 0.6715 GB, free: 3.414 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.797, allocations: 5.601 MB / 0.677 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001296/1.799, allocations: 77.45 kB / 0.6771 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004166/1.803, allocations: 4.656 MB / 0.6816 GB, free: 9.133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002458/1.805, allocations: 1.19 MB / 0.6828 GB, free: 7.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006159/1.806, allocations: 176 kB / 0.683 GB, free: 7.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005958/1.807, allocations: 0.6939 MB / 0.6836 GB, free: 7.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0065/1.813, allocations: 3.906 MB / 0.6875 GB, free: 3.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/1.824, allocations: 9.078 MB / 0.6963 GB, free: 7.625 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/1.835, allocations: 5.82 MB / 0.702 GB, free: 1.949 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001933/1.836, allocations: 52 kB / 0.7021 GB, free: 1.898 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.04052/1.876, allocations: 16.69 MB / 0.7184 GB, free: 2.254 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003783/1.877, allocations: 87.98 kB / 0.7184 GB, free: 2.168 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005138/1.877, allocations: 180 kB / 0.7186 GB, free: 1.992 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3101/2.187, allocations: 4.219 MB / 0.7227 GB, free: 204.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00827/2.196, allocations: 2.027 MB / 0.7247 GB, free: 204.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04098/2.237, allocations: 30.41 MB / 0.7544 GB, free: 189.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009675/2.246, allocations: 0.5328 MB / 0.7549 GB, free: 189.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002093/2.248, allocations: 0.5475 MB / 0.7555 GB, free: 189.6 MB / 0.5138 GB 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.006975/2.255, allocations: 3.194 MB / 0.7586 GB, free: 188.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/2.257, allocations: 0.518 MB / 0.7591 GB, free: 188.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01736/2.274, allocations: 9.253 MB / 0.7681 GB, free: 184.9 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.478e-05/2.274, allocations: 40.16 kB / 0.7682 GB, free: 184.9 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01398/2.288, allocations: 7.861 MB / 0.7758 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.709e-05/2.288, allocations: 15.94 kB / 0.7758 GB, free: 179.9 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03867/2.327, allocations: 21.36 MB / 0.7967 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/2.327, allocations: 4 kB / 0.7967 GB, free: 158.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/2.329, allocations: 485 kB / 0.7972 GB, free: 158.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008624/2.338, allocations: 3.027 MB / 0.8001 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006139/2.339, allocations: 56 kB / 0.8002 GB, free: 155.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02491/2.364, allocations: 21.59 MB / 0.8213 GB, free: 133.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01147/2.375, allocations: 8.876 MB / 0.8299 GB, free: 124.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02119/2.396, allocations: 12.91 MB / 0.8425 GB, free: 111.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/2.398, allocations: 0.5567 MB / 0.8431 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001106/2.4, allocations: 55.95 kB / 0.8431 GB, free: 110.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/2.402, allocations: 212.9 kB / 0.8433 GB, free: 110.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007284/2.403, allocations: 204.7 kB / 0.8435 GB, free: 110.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/2.403, allocations: 86.33 kB / 0.8436 GB, free: 110.1 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005341/2.409, allocations: 3.479 MB / 0.847 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.7e-07/2.409, allocations: 0 / 0.847 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01109/2.42, allocations: 1.89 MB / 0.8489 GB, free: 104.8 MB / 0.5138 GB 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.001406/2.421, allocations: 254.7 kB / 0.8491 GB, free: 104.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01782/2.439, allocations: 10.13 MB / 0.859 GB, free: 94.39 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/2.439, allocations: 0 / 0.859 GB, free: 94.39 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00672/2.446, allocations: 3.822 MB / 0.8627 GB, free: 90.53 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00703/2.453, allocations: 0.7862 MB / 0.8635 GB, free: 89.77 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03597/2.489, allocations: 18.97 MB / 0.882 GB, free: 70.75 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006377/2.495, allocations: 4.853 MB / 0.8868 GB, free: 65.86 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/2.497, allocations: 411.4 kB / 0.8872 GB, free: 65.46 MB / 0.5138 GB Notification: Performance of SimCode: time 1.553e-06/2.497, allocations: 4 kB / 0.8872 GB, free: 65.46 MB / 0.5138 GB Notification: Performance of Templates: time 0.8926/3.39, allocations: 254.6 MB / 1.136 GB, free: 193.6 MB / 0.5138 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraintCalcHelperMain.o] Error 1