Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 91.84 kB / 16.67 MB, free: 6.586 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.001268/0.001268, allocations: 181.7 kB / 17.58 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 223.8 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2579/0.2579, allocations: 43.58 MB / 315.6 MB, free: 424 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000573/0.0005731, allocations: 15.12 kB / 385.2 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1465, allocations: 58.88 MB / 444.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.05396/0.2005, allocations: 48.95 MB / 493.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03443/0.235, allocations: 10.28 MB / 0.4915 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01503/0.2501, allocations: 211.5 kB / 0.4917 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.2527, allocations: 425.9 kB / 0.4921 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007611/0.2604, allocations: 1.779 MB / 0.4939 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.2627, allocations: 0.5227 MB / 0.4944 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01064/0.2734, allocations: 5.513 MB / 0.4998 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/0.2859, allocations: 5.2 MB / 0.5049 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.2901, allocations: 1.136 MB / 0.506 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.2948, allocations: 1.95 MB / 0.5079 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.2962, allocations: 144 kB / 0.508 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003626/0.2999, allocations: 0.932 MB / 0.5089 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003533/0.3034, allocations: 1.71 MB / 0.5106 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005393/0.3089, allocations: 2.004 MB / 0.5125 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01056/0.3195, allocations: 5.541 MB / 0.518 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3195, allocations: 0 / 0.518 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.3195, allocations: 0 / 0.518 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004841/0.32, allocations: 0 / 0.518 GB, free: 14.49 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02175/0.3418, allocations: 4.39 MB / 0.5222 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3419, allocations: 8.031 kB / 0.5222 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008388/0.3503, allocations: 1.937 MB / 0.5241 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007237/0.3575, allocations: 2.357 MB / 0.5264 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.3579, allocations: 238.1 kB / 0.5267 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001962/0.3599, allocations: 319.8 kB / 0.527 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3846/0.7445, allocations: 10.75 MB / 0.5375 GB, free: 86.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/0.7449, allocations: 44.55 kB / 0.5375 GB, free: 86.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006238/0.7455, allocations: 150.8 kB / 0.5377 GB, free: 86.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005139/0.7506, allocations: 1.978 MB / 0.5396 GB, free: 86.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0263/0.777, allocations: 9.658 MB / 0.549 GB, free: 84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05933/0.8364, allocations: 39.23 MB / 0.5873 GB, free: 46.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01357/0.85, allocations: 3.953 MB / 0.5912 GB, free: 42.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.8528, allocations: 1.889 MB / 0.593 GB, free: 40.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009483/0.8538, allocations: 0.6807 MB / 0.5937 GB, free: 39.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.953e-05/0.8539, allocations: 55.59 kB / 0.5938 GB, free: 39.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 6.392e-06/0.8539, allocations: 4 kB / 0.5938 GB, free: 39.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.0495/0.9034, allocations: 13.93 MB / 0.6074 GB, free: 25.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.9035, allocations: 149.5 kB / 0.6075 GB, free: 25.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005405/0.9089, allocations: 4.081 MB / 0.6115 GB, free: 21.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004072/0.9094, allocations: 50.33 kB / 0.6115 GB, free: 21.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002263/0.9116, allocations: 3.125 MB / 0.6146 GB, free: 18.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.9127, allocations: 0.6205 MB / 0.6152 GB, free: 17.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006302/0.9133, allocations: 0.4911 MB / 0.6157 GB, free: 17.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9134, allocations: 305.1 kB / 0.616 GB, free: 16.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/0.9161, allocations: 2.108 MB / 0.618 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004071/0.9202, allocations: 5.815 MB / 0.6237 GB, free: 7.121 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008994/0.9292, allocations: 8.593 MB / 0.6321 GB, free: 12.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.423e-05/0.9293, allocations: 36 kB / 0.6321 GB, free: 12.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01896/0.9483, allocations: 8.42 MB / 0.6403 GB, free: 4.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.9486, allocations: 67.94 kB / 0.6404 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003044/0.9489, allocations: 128.9 kB / 0.6405 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002943/0.9518, allocations: 0.9138 MB / 0.6414 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004946/0.9568, allocations: 1.376 MB / 0.6428 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007896/0.9647, allocations: 4.866 MB / 0.6475 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005493/0.9703, allocations: 327.6 kB / 0.6478 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/0.9715, allocations: 376 kB / 0.6482 GB, free: 12.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (722): * Single equations (assignments): 718 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00548/0.977, allocations: 2.084 MB / 0.6502 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/0.9781, allocations: 343.5 kB / 0.6506 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008566/0.9867, allocations: 3.179 MB / 0.6537 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/0.9868, allocations: 16 kB / 0.6537 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/0.9868, allocations: 4 kB / 0.6537 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/0.9868, allocations: 11.97 kB / 0.6537 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/1.006, allocations: 7.976 MB / 0.6615 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/1.006, allocations: 4.031 kB / 0.6615 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.008, allocations: 311.9 kB / 0.6618 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/1.01, allocations: 0.7173 MB / 0.6625 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/1.01, allocations: 35.97 kB / 0.6625 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006858/1.017, allocations: 4.436 MB / 0.6669 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/1.017, allocations: 8.562 kB / 0.6669 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/1.028, allocations: 5.736 MB / 0.6725 GB, free: 2.961 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/1.03, allocations: 0.6331 MB / 0.6731 GB, free: 2.305 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.031, allocations: 28 kB / 0.6731 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002214/1.033, allocations: 99.88 kB / 0.6732 GB, free: 2.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004212/1.034, allocations: 96.8 kB / 0.6733 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.034, allocations: 51.97 kB / 0.6733 GB, free: 2.035 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00722/1.041, allocations: 2.558 MB / 0.6758 GB, free: 15.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.465e-06/1.041, allocations: 4 kB / 0.6758 GB, free: 15.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007701/1.049, allocations: 0.9613 MB / 0.6768 GB, free: 14.51 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007554/1.05, allocations: 153.7 kB / 0.6769 GB, free: 14.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.061, allocations: 5.037 MB / 0.6818 GB, free: 9.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.061, allocations: 0 / 0.6818 GB, free: 9.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003152/1.064, allocations: 1.558 MB / 0.6834 GB, free: 7.758 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005912/1.07, allocations: 425.2 kB / 0.6838 GB, free: 7.344 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02605/1.096, allocations: 11.57 MB / 0.6951 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006724/1.103, allocations: 3.237 MB / 0.6982 GB, free: 8.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.104, allocations: 315.3 kB / 0.6985 GB, free: 8.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.154e-06/1.104, allocations: 0 / 0.6985 GB, free: 8.148 MB / 494.1 MB Notification: Performance of Templates: time 0.4382/1.543, allocations: 74.65 MB / 0.7714 GB, free: 132.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2CalcHelperMain.o] Error 1