Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009281/0.0009281, allocations: 96.09 kB / 17.64 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009634/0.0009637, allocations: 198.3 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2655/0.2655, allocations: 45.92 MB / 344.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 11.94 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1758, allocations: 63.46 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.479/0.6548, allocations: 59.53 MB / 0.529 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0422/0.6971, allocations: 12.37 MB / 0.541 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0253/0.7225, allocations: 280.8 kB / 0.5413 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.016/0.7385, allocations: 3.104 MB / 0.5443 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04199/0.7806, allocations: 9.026 MB / 0.5532 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006242/0.7868, allocations: 0.6176 MB / 0.5538 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.7989, allocations: 5.047 MB / 0.5587 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01123/0.8102, allocations: 5.927 MB / 0.5645 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.814, allocations: 1.424 MB / 0.5659 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004385/0.8184, allocations: 2.177 MB / 0.568 GB, free: 296 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.8194, allocations: 160 kB / 0.5681 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.822, allocations: 0.8074 MB / 0.5689 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.8244, allocations: 1.893 MB / 0.5708 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.8259, allocations: 0.9595 MB / 0.5717 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009098/0.8351, allocations: 6.34 MB / 0.5779 GB, free: 6.102 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.8351, allocations: 0 / 0.5779 GB, free: 6.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.8351, allocations: 0 / 0.5779 GB, free: 6.102 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003269/0.8354, allocations: 4 kB / 0.5779 GB, free: 6.098 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02049/0.8559, allocations: 5.245 MB / 0.583 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.856, allocations: 12.03 kB / 0.583 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0085/0.8645, allocations: 2.052 MB / 0.5851 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007491/0.8721, allocations: 2.582 MB / 0.5876 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004315/0.8726, allocations: 299.5 kB / 0.5879 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.8741, allocations: 391.8 kB / 0.5882 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02994/0.9041, allocations: 12.38 MB / 0.6003 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.9043, allocations: 47.53 kB / 0.6004 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005948/0.9049, allocations: 183.8 kB / 0.6005 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004493/0.9094, allocations: 2.249 MB / 0.6027 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02868/0.9381, allocations: 11.34 MB / 0.6138 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09513/1.033, allocations: 46.46 MB / 0.6592 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02258/1.056, allocations: 5.492 MB / 0.6646 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005697/1.062, allocations: 3.436 MB / 0.6679 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/1.063, allocations: 0.7025 MB / 0.6686 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/1.063, allocations: 63.91 kB / 0.6687 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=203): time 8.236e-06/1.063, allocations: 3.938 kB / 0.6687 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=234): time 0.08631/1.15, allocations: 27.36 MB / 0.6954 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/1.15, allocations: 154.5 kB / 0.6955 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008743/1.159, allocations: 4.384 MB / 0.6998 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009986/1.16, allocations: 57.7 kB / 0.6999 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003767/1.163, allocations: 3.427 MB / 0.7032 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.165, allocations: 0.883 MB / 0.7041 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/1.166, allocations: 128 kB / 0.7042 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0007232/1.167, allocations: 0.579 MB / 0.7048 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4047/1.571, allocations: 3.264 MB / 0.7079 GB, free: 181.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/1.582, allocations: 7.093 MB / 0.7149 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.592, allocations: 4.686 MB / 0.7194 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002174/1.593, allocations: 47.48 kB / 0.7195 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02959/1.622, allocations: 11.29 MB / 0.7305 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.622, allocations: 64.41 kB / 0.7306 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001963/1.623, allocations: 134.2 kB / 0.7307 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/1.625, allocations: 1.139 MB / 0.7318 GB, free: 170.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006376/1.632, allocations: 1.702 MB / 0.7335 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/1.639, allocations: 5.999 MB / 0.7393 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006847/1.646, allocations: 404.2 kB / 0.7397 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/1.648, allocations: 447.8 kB / 0.7401 GB, free: 167.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005647/1.653, allocations: 2.335 MB / 0.7424 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/1.655, allocations: 392.8 kB / 0.7428 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009568/1.664, allocations: 6.197 MB / 0.7489 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.33e-05/1.664, allocations: 29.2 kB / 0.7489 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.664, allocations: 4 kB / 0.7489 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/1.665, allocations: 11.69 kB / 0.7489 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02183/1.686, allocations: 13.06 MB / 0.7617 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/1.686, allocations: 8.062 kB / 0.7617 GB, free: 148.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/1.689, allocations: 0.5557 MB / 0.7622 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/1.691, allocations: 0.9438 MB / 0.7631 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/1.692, allocations: 93.98 kB / 0.7632 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006315/1.698, allocations: 5.73 MB / 0.7688 GB, free: 141 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/1.698, allocations: 5.219 kB / 0.7688 GB, free: 141 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/1.714, allocations: 10.47 MB / 0.779 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002752/1.716, allocations: 0.9018 MB / 0.7799 GB, free: 129.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/1.718, allocations: 40 kB / 0.78 GB, free: 129.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002926/1.721, allocations: 177.5 kB / 0.7801 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006726/1.722, allocations: 181.6 kB / 0.7803 GB, free: 129.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004596/1.722, allocations: 107.9 kB / 0.7804 GB, free: 129.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007482/1.73, allocations: 2.75 MB / 0.7831 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/1.73, allocations: 0 / 0.7831 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00957/1.739, allocations: 1.208 MB / 0.7843 GB, free: 125.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/1.74, allocations: 177.2 kB / 0.7844 GB, free: 125 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01339/1.754, allocations: 7.72 MB / 0.792 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.754, allocations: 192 / 0.792 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004807/1.759, allocations: 3.015 MB / 0.7949 GB, free: 114.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005998/1.765, allocations: 494.4 kB / 0.7954 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/1.794, allocations: 14.49 MB / 0.8095 GB, free: 99.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005217/1.799, allocations: 3.666 MB / 0.8131 GB, free: 95.58 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/1.802, allocations: 463 kB / 0.8136 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of SimCode: time 1.613e-06/1.802, allocations: 4 kB / 0.8136 GB, free: 95.12 MB / 0.5294 GB Notification: Performance of Templates: time 0.4855/2.287, allocations: 93.17 MB / 0.9045 GB, free: 167.9 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.Rotor1D_3CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3CalcHelperMain.o] Error 1