Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Bevel1D,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.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,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.Bevel1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001103/0.001102, allocations: 91.84 kB / 17.63 MB, free: 5.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 200.4 kB / 18.54 MB, free: 4.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.647/1.647, 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.2544/0.2544, allocations: 45.91 MB / 344.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 8 kB / 418.7 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1542, allocations: 63.46 MB / 482.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.4373/0.5915, allocations: 63.07 MB / 0.5324 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04772/0.6393, allocations: 13.31 MB / 0.5454 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02537/0.6648, allocations: 302.4 kB / 0.5457 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01495/0.6797, allocations: 3.294 MB / 0.5489 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03614/0.7159, allocations: 9.652 MB / 0.5584 GB, free: 9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006266/0.7222, allocations: 0.7998 MB / 0.5591 GB, free: 8.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.08731/0.8096, allocations: 62.06 MB / 0.6197 GB, free: 11.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01198/0.8216, allocations: 6.517 MB / 0.6261 GB, free: 4.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/0.8256, allocations: 1.65 MB / 0.6277 GB, free: 3.184 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004578/0.8302, allocations: 2.547 MB / 0.6302 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008087/0.831, allocations: 180 kB / 0.6304 GB, free: 464 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.8336, allocations: 0.9597 MB / 0.6313 GB, free: 15.49 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.8361, allocations: 2.17 MB / 0.6334 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.8377, allocations: 1.041 MB / 0.6344 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009144/0.8468, allocations: 7.112 MB / 0.6414 GB, free: 5.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.8469, allocations: 0 / 0.6414 GB, free: 5.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8469, allocations: 0 / 0.6414 GB, free: 5.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003787/0.8473, allocations: 0 / 0.6414 GB, free: 5.137 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01421/0.8615, allocations: 5.113 MB / 0.6464 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.8615, allocations: 8.031 kB / 0.6464 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.8732, allocations: 2.664 MB / 0.649 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009529/0.8828, allocations: 3.684 MB / 0.6526 GB, free: 9.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003255/0.8832, allocations: 299.7 kB / 0.6529 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.8846, allocations: 403.8 kB / 0.6533 GB, free: 8.844 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/0.9068, allocations: 11.46 MB / 0.6645 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.907, allocations: 59.48 kB / 0.6645 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004941/0.9075, allocations: 183.9 kB / 0.6647 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003559/0.9111, allocations: 2.089 MB / 0.6667 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.9312, allocations: 9.675 MB / 0.6762 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4585/1.39, allocations: 45.53 MB / 0.7206 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/1.402, allocations: 4.143 MB / 0.7247 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004504/1.406, allocations: 2.342 MB / 0.727 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01801/1.424, allocations: 9.392 MB / 0.7361 GB, free: 153.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/1.424, allocations: 53.28 kB / 0.7362 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=169): time 6.742e-06/1.424, allocations: 0 / 0.7362 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=191): time 0.0485/1.473, allocations: 19.37 MB / 0.7551 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/1.473, allocations: 204 kB / 0.7553 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005911/1.479, allocations: 4.686 MB / 0.7599 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004857/1.479, allocations: 51.03 kB / 0.7599 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002044/1.481, allocations: 3.598 MB / 0.7634 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009543/1.482, allocations: 0.7416 MB / 0.7642 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/1.483, allocations: 128.7 kB / 0.7643 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002741/1.483, allocations: 0.5864 MB / 0.7649 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002958/1.486, allocations: 2.363 MB / 0.7672 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004632/1.491, allocations: 6.212 MB / 0.7732 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004941/1.496, allocations: 3.746 MB / 0.7769 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.803e-05/1.496, allocations: 36 kB / 0.7769 GB, free: 121.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=850) (initialization): time 0.01712/1.513, allocations: 9.674 MB / 0.7864 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.513, allocations: 71.03 kB / 0.7864 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/1.513, allocations: 132 kB / 0.7866 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004178/1.518, allocations: 1.615 MB / 0.7881 GB, free: 109.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00482/1.522, allocations: 1.482 MB / 0.7896 GB, free: 108.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/1.534, allocations: 9.357 MB / 0.7987 GB, free: 98.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006348/1.54, allocations: 363.4 kB / 0.7991 GB, free: 98.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/1.542, allocations: 395.9 kB / 0.7995 GB, free: 97.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * 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 (790): * Single equations (assignments): 785 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005919/1.548, allocations: 2.478 MB / 0.8019 GB, free: 95.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.55, allocations: 410.7 kB / 0.8023 GB, free: 94.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008971/1.559, allocations: 4.174 MB / 0.8063 GB, free: 90.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/1.559, allocations: 24 kB / 0.8064 GB, free: 90.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/1.559, allocations: 4 kB / 0.8064 GB, free: 90.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/1.559, allocations: 15.97 kB / 0.8064 GB, free: 90.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02349/1.582, allocations: 9.611 MB / 0.8158 GB, free: 81.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.887e-05/1.582, allocations: 0 / 0.8158 GB, free: 81.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.584, allocations: 291.6 kB / 0.8161 GB, free: 80.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00364/1.587, allocations: 1.358 MB / 0.8174 GB, free: 79.44 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003011/1.588, allocations: 35.89 kB / 0.8174 GB, free: 79.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009963/1.598, allocations: 8.736 MB / 0.8259 GB, free: 70.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.598, allocations: 0 / 0.8259 GB, free: 70.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.609, allocations: 6.87 MB / 0.8327 GB, free: 63.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.611, allocations: 467.6 kB / 0.8331 GB, free: 63.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001444/1.612, allocations: 38.28 kB / 0.8331 GB, free: 62.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/1.615, allocations: 123.8 kB / 0.8333 GB, free: 62.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/1.615, allocations: 121.1 kB / 0.8334 GB, free: 62.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001923/1.615, allocations: 48.94 kB / 0.8334 GB, free: 62.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006265/1.622, allocations: 2.948 MB / 0.8363 GB, free: 59.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/1.622, allocations: 0 / 0.8363 GB, free: 59.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008839/1.63, allocations: 1.191 MB / 0.8375 GB, free: 58.57 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (141): * Single equations (assignments): 136 * 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.000913/1.631, allocations: 166.7 kB / 0.8376 GB, free: 58.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.642, allocations: 5.866 MB / 0.8433 GB, free: 52.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/1.643, allocations: 0 / 0.8433 GB, free: 52.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003462/1.646, allocations: 1.981 MB / 0.8453 GB, free: 50.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005104/1.651, allocations: 0.5152 MB / 0.8458 GB, free: 50.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02515/1.676, allocations: 13.59 MB / 0.8591 GB, free: 36.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005163/1.682, allocations: 3.831 MB / 0.8628 GB, free: 32.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/1.683, allocations: 315.4 kB / 0.8631 GB, free: 32.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/1.683, allocations: 0 / 0.8631 GB, free: 32.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.4871/2.17, allocations: 111.9 MB / 0.9724 GB, free: 178.4 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Bevel1DCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1DCalcHelperMain.o] Error 1