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.0009433/0.0009433, allocations: 96.72 kB / 17.96 MB, free: 5.617 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.001186/0.001186, allocations: 181.8 kB / 18.86 MB, free: 4.766 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.878/1.878, allocations: 205.4 MB / 225 MB, free: 12.99 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.0004903/0.0004903, allocations: 10.81 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1271, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.3872/0.5143, allocations: 84.03 MB / 413.6 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05619/0.5706, allocations: 17.27 MB / 430.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03302/0.6037, allocations: 391.6 kB / 431.3 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00385/0.6076, allocations: 0.6988 MB / 432 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.6178, allocations: 2.503 MB / 434.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.6217, allocations: 1.134 MB / 435.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01618/0.6379, allocations: 9.73 MB / 445.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01938/0.6574, allocations: 11.11 MB / 456.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.6631, allocations: 2.004 MB / 458.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006854/0.6699, allocations: 3.087 MB / 461.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.6718, allocations: 231.9 kB / 461.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005537/0.6774, allocations: 1.525 MB / 463.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005394/0.6828, allocations: 2.879 MB / 466.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007722/0.6906, allocations: 3.239 MB / 469.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.7071, allocations: 9.545 MB / 479 MB, free: 0.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.7072, allocations: 0 / 479 MB, free: 0.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.7072, allocations: 0 / 479 MB, free: 0.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008653/0.7081, allocations: 4 kB / 479 MB, free: 0.8711 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.0259/0.734, allocations: 6.809 MB / 485.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.7341, allocations: 12.03 kB / 485.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.7446, allocations: 2.316 MB / 488.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/0.7583, allocations: 4.192 MB / 492.3 MB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007418/0.7591, allocations: 439.7 kB / 492.7 MB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004385/0.7635, allocations: 0.5816 MB / 493.3 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04839/0.8119, allocations: 16.86 MB / 0.4982 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004957/0.8125, allocations: 51.53 kB / 0.4983 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002908/0.8154, allocations: 271.8 kB / 0.4985 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005397/0.8208, allocations: 2.639 MB / 0.5011 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03904/0.8599, allocations: 14.43 MB / 0.5152 GB, free: 15.18 MB / 430.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.5633/1.423, allocations: 63.27 MB / 0.577 GB, free: 122.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02188/1.445, allocations: 7.757 MB / 0.5846 GB, free: 120 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005178/1.45, allocations: 3.985 MB / 0.5884 GB, free: 118.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02428/1.475, allocations: 16.77 MB / 0.6048 GB, free: 108.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/1.475, allocations: 63.05 kB / 0.6049 GB, free: 108 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 7.754e-06/1.475, allocations: 0 / 0.6049 GB, free: 108 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1242/1.599, allocations: 42.77 MB / 0.6466 GB, free: 67.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02166/1.621, allocations: 16.32 MB / 0.6626 GB, free: 50.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/1.632, allocations: 5.743 MB / 0.6682 GB, free: 44.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001139/1.633, allocations: 71.19 kB / 0.6683 GB, free: 44.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003045/1.636, allocations: 4.738 MB / 0.6729 GB, free: 40.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00203/1.638, allocations: 1.272 MB / 0.6741 GB, free: 38.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.639, allocations: 0.7853 MB / 0.6749 GB, free: 38.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/1.64, allocations: 301.1 kB / 0.6752 GB, free: 37.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005182/1.645, allocations: 4.125 MB / 0.6792 GB, free: 33.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007765/1.653, allocations: 9.374 MB / 0.6884 GB, free: 21.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01631/1.669, allocations: 14.62 MB / 0.7026 GB, free: 4.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001638/1.669, allocations: 52 kB / 0.7027 GB, free: 4.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.3482/2.017, allocations: 17.6 MB / 0.7199 GB, free: 142.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003179/2.018, allocations: 87.19 kB / 0.72 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005599/2.018, allocations: 185.2 kB / 0.7201 GB, free: 142.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/2.035, allocations: 4.563 MB / 0.7246 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008157/2.043, allocations: 2.045 MB / 0.7266 GB, free: 141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04565/2.089, allocations: 34.09 MB / 0.7599 GB, free: 115.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01331/2.102, allocations: 0.5414 MB / 0.7604 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00217/2.104, allocations: 0.5673 MB / 0.761 GB, free: 114.7 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 (1074): * Single equations (assignments): 1061 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,33,100.0%), (2,19,100.0%), (2,13,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.00681/2.111, allocations: 3.268 MB / 0.7642 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/2.113, allocations: 0.53 MB / 0.7647 GB, free: 111.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/2.131, allocations: 9.949 MB / 0.7744 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.328e-05/2.132, allocations: 58.95 kB / 0.7744 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01662/2.148, allocations: 8.498 MB / 0.7827 GB, free: 92.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/2.148, allocations: 15.94 kB / 0.7828 GB, free: 92.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04175/2.19, allocations: 22.74 MB / 0.805 GB, free: 69.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-05/2.19, allocations: 8 kB / 0.805 GB, free: 69.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/2.193, allocations: 475.3 kB / 0.8054 GB, free: 69.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01068/2.204, allocations: 3.296 MB / 0.8086 GB, free: 65.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008113/2.204, allocations: 63.98 kB / 0.8087 GB, free: 65.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03012/2.235, allocations: 24.42 MB / 0.8326 GB, free: 41.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01322/2.248, allocations: 10.63 MB / 0.8429 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02432/2.272, allocations: 13.91 MB / 0.8565 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/2.276, allocations: 1.13 MB / 0.8576 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/2.277, allocations: 56 kB / 0.8577 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003665/2.281, allocations: 220.3 kB / 0.8579 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008945/2.282, allocations: 238.2 kB / 0.8581 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/2.282, allocations: 96.47 kB / 0.8582 GB, free: 14.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005494/2.287, allocations: 3.586 MB / 0.8617 GB, free: 10.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.51e-07/2.287, allocations: 0 / 0.8617 GB, free: 10.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01046/2.298, allocations: 1.986 MB / 0.8636 GB, free: 8.703 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 (220): * Single equations (assignments): 212 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (3,30,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009974/2.299, allocations: 270.7 kB / 0.8639 GB, free: 8.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2548/2.554, allocations: 10.74 MB / 0.8744 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.247e-05/2.554, allocations: 1 kB / 0.8744 GB, free: 139.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008645/2.563, allocations: 4.162 MB / 0.8785 GB, free: 138.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01181/2.574, allocations: 0.7904 MB / 0.8792 GB, free: 138.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04391/2.618, allocations: 20.44 MB / 0.8992 GB, free: 128.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007242/2.626, allocations: 4.977 MB / 0.9041 GB, free: 126.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002284/2.628, allocations: 433 kB / 0.9045 GB, free: 126.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.443e-06/2.628, allocations: 0.7656 kB / 0.9045 GB, free: 126.9 MB / 446.1 MB Notification: Performance of Templates: time 0.5518/3.18, allocations: 260.5 MB / 1.159 GB, free: 22.44 MB / 446.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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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