Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.0009382, allocations: 87.89 kB / 17.63 MB, free: 5.719 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.001142/0.001142, allocations: 182.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 223.2 MB / 242.5 MB, free: 340 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.244/0.244, allocations: 44.22 MB / 337.9 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 8.875 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 61.94 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.4575/0.6131, allocations: 59.51 MB / 0.5192 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04232/0.6555, allocations: 12.34 MB / 0.5313 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01694/0.6725, allocations: 281 kB / 0.5316 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01351/0.686, allocations: 3.111 MB / 0.5346 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03675/0.7228, allocations: 9.038 MB / 0.5434 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005661/0.7285, allocations: 0.6135 MB / 0.544 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008657/0.7372, allocations: 4.988 MB / 0.5489 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0123/0.7496, allocations: 5.947 MB / 0.5547 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004389/0.754, allocations: 1.417 MB / 0.5561 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004771/0.7588, allocations: 2.175 MB / 0.5582 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001547/0.7604, allocations: 168 kB / 0.5584 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.764, allocations: 0.8194 MB / 0.5592 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003778/0.7678, allocations: 1.892 MB / 0.561 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.7707, allocations: 0.9595 MB / 0.562 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.7819, allocations: 6.344 MB / 0.5681 GB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.7819, allocations: 4 kB / 0.5682 GB, free: 1.441 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.7819, allocations: 0 / 0.5682 GB, free: 1.441 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005018/0.7825, allocations: 0 / 0.5682 GB, free: 1.441 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02272/0.8052, allocations: 5.202 MB / 0.5732 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.8053, allocations: 8.031 kB / 0.5732 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007974/0.8133, allocations: 2.009 MB / 0.5752 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009211/0.8225, allocations: 2.609 MB / 0.5778 GB, free: 7.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005215/0.8231, allocations: 299.5 kB / 0.578 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002961/0.8261, allocations: 392.2 kB / 0.5784 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03312/0.8592, allocations: 12.38 MB / 0.5905 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003724/0.8597, allocations: 39.59 kB / 0.5905 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002119/0.8618, allocations: 181.2 kB / 0.5907 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004656/0.8665, allocations: 2.259 MB / 0.5929 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02774/0.8942, allocations: 11.34 MB / 0.604 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08059/0.9749, allocations: 46.48 MB / 0.6494 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01759/0.9926, allocations: 5.486 MB / 0.6547 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005536/0.9982, allocations: 3.439 MB / 0.6581 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.9995, allocations: 0.6964 MB / 0.6588 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.946e-05/0.9996, allocations: 55.8 kB / 0.6588 GB, free: 2.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 6.512e-06/0.9996, allocations: 4 kB / 0.6588 GB, free: 2.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=234): time 0.08202/1.082, allocations: 27.36 MB / 0.6855 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/1.082, allocations: 150.5 kB / 0.6857 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009199/1.091, allocations: 4.395 MB / 0.69 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007542/1.092, allocations: 61.7 kB / 0.69 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002852/1.095, allocations: 3.42 MB / 0.6934 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.096, allocations: 0.8821 MB / 0.6942 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/1.096, allocations: 132 kB / 0.6944 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003808/1.097, allocations: 0.579 MB / 0.6949 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/1.102, allocations: 3.273 MB / 0.6981 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007474/1.109, allocations: 7.093 MB / 0.7051 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3918/1.501, allocations: 4.685 MB / 0.7096 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/1.501, allocations: 38 kB / 0.7097 GB, free: 183.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.03013/1.531, allocations: 11.28 MB / 0.7207 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/1.531, allocations: 63.05 kB / 0.7207 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003293/1.532, allocations: 135.3 kB / 0.7209 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003171/1.535, allocations: 1.144 MB / 0.722 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006702/1.542, allocations: 1.704 MB / 0.7237 GB, free: 180.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007613/1.549, allocations: 5.993 MB / 0.7295 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006378/1.556, allocations: 403.9 kB / 0.7299 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.557, allocations: 443.7 kB / 0.7303 GB, free: 177 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.004863/1.562, allocations: 2.343 MB / 0.7326 GB, free: 176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.563, allocations: 401.4 kB / 0.733 GB, free: 176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.574, allocations: 6.187 MB / 0.739 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.686e-05/1.574, allocations: 30.5 kB / 0.7391 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/1.574, allocations: 3.25 kB / 0.7391 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-05/1.574, allocations: 12.39 kB / 0.7391 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02281/1.597, allocations: 13.09 MB / 0.7519 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/1.597, allocations: 0 / 0.7519 GB, free: 161.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.599, allocations: 0.5421 MB / 0.7524 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/1.601, allocations: 0.9558 MB / 0.7533 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002929/1.602, allocations: 85.58 kB / 0.7534 GB, free: 160.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006212/1.608, allocations: 5.729 MB / 0.759 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.608, allocations: 3.938 kB / 0.759 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.621, allocations: 10.47 MB / 0.7692 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002559/1.623, allocations: 0.9056 MB / 0.7701 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000838/1.624, allocations: 37.81 kB / 0.7701 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.627, allocations: 171.8 kB / 0.7703 GB, free: 143 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005346/1.627, allocations: 189 kB / 0.7705 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/1.627, allocations: 108.8 kB / 0.7706 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004581/1.632, allocations: 2.75 MB / 0.7733 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/1.632, allocations: 0 / 0.7733 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007631/1.64, allocations: 1.206 MB / 0.7745 GB, free: 138.7 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.0008199/1.641, allocations: 183.3 kB / 0.7746 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01178/1.652, allocations: 7.714 MB / 0.7822 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.652, allocations: 0 / 0.7822 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004178/1.657, allocations: 3.016 MB / 0.7851 GB, free: 127.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/1.662, allocations: 493.3 kB / 0.7856 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/1.687, allocations: 14.49 MB / 0.7997 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/1.69, allocations: 3.662 MB / 0.8033 GB, free: 109.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/1.693, allocations: 459.1 kB / 0.8037 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.203e-06/1.693, allocations: 4 kB / 0.8037 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1314/1.824, allocations: 93.17 MB / 0.8947 GB, free: 15.48 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3CalcHelperMain.o] Error 1