Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009455/0.0009456, allocations: 92.44 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009624/0.0009624, allocations: 199 kB / 18.54 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.678/1.678, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 4 kB / 307.3 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1499, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.4056/0.5555, allocations: 59.67 MB / 418.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04407/0.5997, allocations: 12.73 MB / 431.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02087/0.6206, allocations: 283.3 kB / 431.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01318/0.6339, allocations: 2.931 MB / 434.4 MB, free: 148 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03552/0.6695, allocations: 8.592 MB / 443 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006342/0.6759, allocations: 0.6865 MB / 443.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.05327/0.7292, allocations: 33.12 MB / 476.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/0.7411, allocations: 6.337 MB / 483.1 MB, free: 15.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.7453, allocations: 1.448 MB / 484.6 MB, free: 13.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00508/0.7504, allocations: 2.368 MB / 486.9 MB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.7518, allocations: 172 kB / 487.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.755, allocations: 0.9519 MB / 488.1 MB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003096/0.7581, allocations: 1.971 MB / 490 MB, free: 8.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.7602, allocations: 0.9751 MB / 491 MB, free: 7.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.7706, allocations: 6.765 MB / 497.8 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.7707, allocations: 0 / 497.8 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.7707, allocations: 4 kB / 497.8 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003599/0.771, allocations: 0 / 497.8 MB, free: 0.5859 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: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.02709/0.7981, allocations: 5.85 MB / 0.4918 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.7982, allocations: 8.031 kB / 0.4918 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/0.8141, allocations: 2.63 MB / 0.4944 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008771/0.823, allocations: 3.004 MB / 0.4973 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003719/0.8234, allocations: 295.8 kB / 0.4976 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002278/0.8257, allocations: 407.7 kB / 0.498 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03512/0.8608, allocations: 13.25 MB / 0.5109 GB, free: 6.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002379/0.8611, allocations: 43.59 kB / 0.511 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/0.8623, allocations: 183.9 kB / 0.5112 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004533/0.8669, allocations: 2.194 MB / 0.5133 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/0.8964, allocations: 12.66 MB / 0.5257 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4142/1.311, allocations: 49.21 MB / 0.5737 GB, free: 115.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02284/1.334, allocations: 6.427 MB / 0.58 GB, free: 112.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007434/1.341, allocations: 3.907 MB / 0.5838 GB, free: 110.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.343, allocations: 427.1 kB / 0.5842 GB, free: 110.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/1.343, allocations: 63 kB / 0.5843 GB, free: 110.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=214): time 8.737e-06/1.343, allocations: 0 / 0.5843 GB, free: 110.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.1155/1.458, allocations: 36.08 MB / 0.6195 GB, free: 74.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/1.459, allocations: 217.9 kB / 0.6197 GB, free: 74.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008364/1.467, allocations: 4.379 MB / 0.624 GB, free: 69.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001231/1.468, allocations: 65.7 kB / 0.6241 GB, free: 69.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002684/1.471, allocations: 3.44 MB / 0.6274 GB, free: 66.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002338/1.473, allocations: 0.9449 MB / 0.6283 GB, free: 65.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008878/1.474, allocations: 136 kB / 0.6285 GB, free: 65.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004379/1.475, allocations: 0.5993 MB / 0.6291 GB, free: 64.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006513/1.481, allocations: 4.314 MB / 0.6333 GB, free: 60.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.491, allocations: 8.195 MB / 0.6413 GB, free: 50.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009897/1.501, allocations: 5.807 MB / 0.6469 GB, free: 44.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/1.501, allocations: 36 kB / 0.647 GB, free: 44.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.03217/1.534, allocations: 14.72 MB / 0.6614 GB, free: 29.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/1.534, allocations: 68.03 kB / 0.6614 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002859/1.534, allocations: 140 kB / 0.6615 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006598/1.541, allocations: 2.47 MB / 0.664 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007683/1.548, allocations: 1.786 MB / 0.6657 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/1.567, allocations: 15.83 MB / 0.6812 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008802/1.576, allocations: 476 kB / 0.6816 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002638/1.578, allocations: 0.4931 MB / 0.6821 GB, free: 8.059 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (826): * Single equations (assignments): 820 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007193/1.586, allocations: 2.384 MB / 0.6844 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001419/1.587, allocations: 398.8 kB / 0.6848 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/1.604, allocations: 9.635 MB / 0.6942 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.753e-05/1.604, allocations: 31.98 kB / 0.6943 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/1.604, allocations: 8 kB / 0.6943 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-05/1.604, allocations: 15.97 kB / 0.6943 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3048/1.909, allocations: 18.11 MB / 0.712 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/1.909, allocations: 0 / 0.712 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/1.912, allocations: 0.5856 MB / 0.7125 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006847/1.919, allocations: 2.236 MB / 0.7147 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008434/1.92, allocations: 130.8 kB / 0.7148 GB, free: 148.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01961/1.94, allocations: 14.54 MB / 0.729 GB, free: 140.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.94, allocations: 0 / 0.729 GB, free: 140.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02128/1.961, allocations: 15.12 MB / 0.7438 GB, free: 134.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.963, allocations: 468.3 kB / 0.7443 GB, free: 134.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001159/1.964, allocations: 39.91 kB / 0.7443 GB, free: 134.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/1.967, allocations: 239.6 kB / 0.7445 GB, free: 134.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006692/1.967, allocations: 238.1 kB / 0.7447 GB, free: 133.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003136/1.968, allocations: 144.8 kB / 0.7449 GB, free: 133.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004053/1.972, allocations: 2.752 MB / 0.7476 GB, free: 131 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.972, allocations: 0 / 0.7476 GB, free: 131 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008143/1.98, allocations: 1.43 MB / 0.749 GB, free: 129.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (195): * Single equations (assignments): 189 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007204/1.981, allocations: 189.8 kB / 0.7491 GB, free: 129.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01361/1.994, allocations: 10.34 MB / 0.7592 GB, free: 119.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.994, allocations: 0 / 0.7592 GB, free: 119.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005961/2, allocations: 4.612 MB / 0.7638 GB, free: 114.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/2.004, allocations: 479.2 kB / 0.7642 GB, free: 114.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/2.027, allocations: 15.76 MB / 0.7796 GB, free: 98.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003477/2.031, allocations: 3.735 MB / 0.7832 GB, free: 94.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/2.033, allocations: 0.5808 MB / 0.7838 GB, free: 94.12 MB / 462.1 MB Notification: Performance of SimCode: time 1.794e-06/2.033, allocations: 0 / 0.7838 GB, free: 94.12 MB / 462.1 MB Notification: Performance of Templates: time 0.4868/2.52, allocations: 145.5 MB / 0.9259 GB, free: 112 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.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.Rotational3DEffects.BevelGear1DCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1DCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1DCalcHelperMain.o] Error 1