Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008512/0.0008512, allocations: 94.45 kB / 17.63 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009279/0.0009279, allocations: 195.9 kB / 18.54 MB, free: 4.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2667/0.2667, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 63.47 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.4717/0.6523, allocations: 63.15 MB / 0.5325 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04694/0.6993, allocations: 13.32 MB / 0.5455 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02511/0.7244, allocations: 304.3 kB / 0.5458 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01434/0.7388, allocations: 3.29 MB / 0.549 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03883/0.7777, allocations: 9.655 MB / 0.5584 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006353/0.7841, allocations: 0.802 MB / 0.5592 GB, free: 8.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.09101/0.8751, allocations: 62.11 MB / 0.6199 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01358/0.8887, allocations: 6.532 MB / 0.6263 GB, free: 4.512 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005228/0.894, allocations: 1.662 MB / 0.6279 GB, free: 2.844 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005521/0.8996, allocations: 2.535 MB / 0.6304 GB, free: 308 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001028/0.9006, allocations: 180 kB / 0.6305 GB, free: 128 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.9039, allocations: 0.9714 MB / 0.6315 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00328/0.9072, allocations: 2.166 MB / 0.6336 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.9091, allocations: 1.041 MB / 0.6346 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.9201, allocations: 7.116 MB / 0.6416 GB, free: 4.797 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.9202, allocations: 4 kB / 0.6416 GB, free: 4.793 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.9202, allocations: 0 / 0.6416 GB, free: 4.793 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003639/0.9206, allocations: 0 / 0.6416 GB, free: 4.793 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01637/0.9369, allocations: 5.125 MB / 0.6466 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.841e-05/0.937, allocations: 8.031 kB / 0.6466 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01235/0.9494, allocations: 2.672 MB / 0.6492 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.9602, allocations: 3.676 MB / 0.6528 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.9606, allocations: 303.8 kB / 0.6531 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002074/0.9627, allocations: 427.6 kB / 0.6535 GB, free: 8.461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/0.9908, allocations: 11.73 MB / 0.6649 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/0.9912, allocations: 67.41 kB / 0.665 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005873/0.9918, allocations: 187.9 kB / 0.6652 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00411/0.9959, allocations: 2.081 MB / 0.6672 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/1.023, allocations: 10.07 MB / 0.677 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5017/1.524, allocations: 45.95 MB / 0.7219 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/1.536, allocations: 4.366 MB / 0.7262 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00402/1.54, allocations: 2.477 MB / 0.7286 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01602/1.556, allocations: 9.845 MB / 0.7382 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/1.556, allocations: 56.36 kB / 0.7383 GB, free: 153 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 4.879e-06/1.556, allocations: 3.281 kB / 0.7383 GB, free: 153 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.04601/1.602, allocations: 19.96 MB / 0.7578 GB, free: 143.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/1.602, allocations: 208.8 kB / 0.758 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005485/1.607, allocations: 4.686 MB / 0.7625 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003547/1.608, allocations: 57.61 kB / 0.7626 GB, free: 138.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/1.609, allocations: 3.6 MB / 0.7661 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006625/1.61, allocations: 0.7574 MB / 0.7668 GB, free: 134.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/1.61, allocations: 132.8 kB / 0.767 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002515/1.611, allocations: 0.579 MB / 0.7675 GB, free: 133.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/1.614, allocations: 2.39 MB / 0.7699 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/1.618, allocations: 6.257 MB / 0.776 GB, free: 123 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005018/1.623, allocations: 3.78 MB / 0.7797 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/1.623, allocations: 40 kB / 0.7797 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01739/1.641, allocations: 9.745 MB / 0.7892 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8e-05/1.641, allocations: 64 kB / 0.7893 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.641, allocations: 136.1 kB / 0.7894 GB, free: 109.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/1.645, allocations: 1.639 MB / 0.791 GB, free: 107.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004487/1.649, allocations: 1.489 MB / 0.7925 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/1.66, allocations: 9.534 MB / 0.8018 GB, free: 96.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/1.666, allocations: 367.9 kB / 0.8021 GB, free: 96.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/1.667, allocations: 396.5 kB / 0.8025 GB, free: 95.66 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (796): * Single equations (assignments): 791 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004279/1.671, allocations: 2.484 MB / 0.8049 GB, free: 93.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009072/1.672, allocations: 410.7 kB / 0.8053 GB, free: 92.76 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006992/1.679, allocations: 4.24 MB / 0.8095 GB, free: 88.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/1.679, allocations: 23.8 kB / 0.8095 GB, free: 88.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/1.679, allocations: 12 kB / 0.8095 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-05/1.679, allocations: 7.969 kB / 0.8095 GB, free: 88.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01557/1.695, allocations: 9.775 MB / 0.8191 GB, free: 78.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.695, allocations: 0 / 0.8191 GB, free: 78.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.696, allocations: 307.5 kB / 0.8194 GB, free: 78.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/1.7, allocations: 1.355 MB / 0.8207 GB, free: 76.99 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/1.7, allocations: 43.94 kB / 0.8207 GB, free: 76.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009205/1.709, allocations: 8.731 MB / 0.8292 GB, free: 67.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.709, allocations: 7.938 kB / 0.8292 GB, free: 67.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00955/1.719, allocations: 6.965 MB / 0.8361 GB, free: 60.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.72, allocations: 467.7 kB / 0.8365 GB, free: 60.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004466/1.721, allocations: 39.5 kB / 0.8365 GB, free: 60.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/1.722, allocations: 123.8 kB / 0.8367 GB, free: 60.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/1.722, allocations: 121.1 kB / 0.8368 GB, free: 60.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.723, allocations: 51.98 kB / 0.8368 GB, free: 60.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004132/1.727, allocations: 2.944 MB / 0.8397 GB, free: 57.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.727, allocations: 0 / 0.8397 GB, free: 57.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00641/1.733, allocations: 1.206 MB / 0.8409 GB, free: 55.99 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (147): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004776/1.734, allocations: 165.5 kB / 0.841 GB, free: 55.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009823/1.743, allocations: 5.945 MB / 0.8468 GB, free: 49.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.743, allocations: 0 / 0.8468 GB, free: 49.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004641/1.748, allocations: 2.015 MB / 0.8488 GB, free: 47.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005804/1.754, allocations: 0.5181 MB / 0.8493 GB, free: 47.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/1.787, allocations: 13.66 MB / 0.8626 GB, free: 33.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006739/1.794, allocations: 3.84 MB / 0.8664 GB, free: 29.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/1.796, allocations: 311.4 kB / 0.8667 GB, free: 29.45 MB / 0.5294 GB Notification: Performance of SimCode: time 1.463e-06/1.796, allocations: 4 kB / 0.8667 GB, free: 29.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.4861/2.282, allocations: 112.3 MB / 0.9764 GB, free: 133.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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 OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraintCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraintCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraintCalcHelperMain.o] Error 1