Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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_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_3.2.3_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_3.2.3_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.001416/0.001416, allocations: 103.3 kB / 16.52 MB, free: 6.664 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.001624/0.001625, allocations: 199.3 kB / 17.44 MB, free: 6.059 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.817/1.817, allocations: 205.1 MB / 223.3 MB, free: 12.52 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.2468/0.2468, allocations: 43.52 MB / 314.2 MB, free: 0.7617 MB / 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.001772/0.001772, allocations: 71.7 kB / 382.7 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1611, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.06594/0.2271, allocations: 66.25 MB / 0.4949 GB, free: 5.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04286/0.2701, allocations: 13.05 MB / 0.5076 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01943/0.2896, allocations: 287.3 kB / 0.5079 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009551/0.2993, allocations: 3.74 MB / 0.5115 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00809/0.3074, allocations: 1.969 MB / 0.5134 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.3106, allocations: 0.745 MB / 0.5142 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01215/0.3227, allocations: 6.514 MB / 0.5205 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.3333, allocations: 4.899 MB / 0.5253 GB, free: 5.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005372/0.3388, allocations: 1.717 MB / 0.527 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006374/0.3452, allocations: 2.765 MB / 0.5297 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002731/0.348, allocations: 323.9 kB / 0.53 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4368/0.7848, allocations: 1.095 MB / 0.5311 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006755/0.7917, allocations: 2.244 MB / 0.5333 GB, free: 9.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01048/0.8022, allocations: 2.66 MB / 0.5359 GB, free: 9.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.8135, allocations: 6.799 MB / 0.5425 GB, free: 8.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.8135, allocations: 0 / 0.5425 GB, free: 8.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.8136, allocations: 3.938 kB / 0.5425 GB, free: 8.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003609/0.8139, allocations: 0 / 0.5425 GB, free: 8.844 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02974/0.8437, allocations: 6.453 MB / 0.5488 GB, free: 6.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.283e-05/0.8438, allocations: 9.438 kB / 0.5488 GB, free: 6.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009741/0.8535, allocations: 1.988 MB / 0.5508 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009092/0.8627, allocations: 2.776 MB / 0.5535 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004629/0.8631, allocations: 310 kB / 0.5538 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002292/0.8655, allocations: 408.6 kB / 0.5541 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03837/0.9039, allocations: 12.89 MB / 0.5667 GB, free: 3.547 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005139/0.9044, allocations: 47.62 kB / 0.5668 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002582/0.907, allocations: 190.5 kB / 0.567 GB, free: 3.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005227/0.9123, allocations: 2.367 MB / 0.5693 GB, free: 3.188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03302/0.9453, allocations: 11.81 MB / 0.5808 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/1.049, allocations: 48.12 MB / 0.6278 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02174/1.07, allocations: 5.712 MB / 0.6334 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00702/1.078, allocations: 3.605 MB / 0.6369 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/1.079, allocations: 0.6994 MB / 0.6376 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.788e-05/1.079, allocations: 67.84 kB / 0.6377 GB, free: 4.754 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 1.039e-05/1.079, allocations: 2.812 kB / 0.6377 GB, free: 4.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=255): time 0.1013/1.181, allocations: 28.49 MB / 0.6655 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.181, allocations: 153.3 kB / 0.6656 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/1.194, allocations: 4.529 MB / 0.67 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001229/1.195, allocations: 61.7 kB / 0.6701 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004491/1.2, allocations: 3.539 MB / 0.6736 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002731/1.203, allocations: 0.9554 MB / 0.6745 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007202/1.21, allocations: 1.472 MB / 0.6759 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.21, allocations: 301.1 kB / 0.6762 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007896/1.218, allocations: 3.457 MB / 0.6796 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/1.232, allocations: 7.387 MB / 0.6868 GB, free: 416 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02191/1.254, allocations: 11.68 MB / 0.6982 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002808/1.255, allocations: 40 kB / 0.6982 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.03097/1.286, allocations: 11.78 MB / 0.7097 GB, free: 8.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003312/1.286, allocations: 64 kB / 0.7098 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004765/1.287, allocations: 140 kB / 0.7099 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003707/1.29, allocations: 1.121 MB / 0.711 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008562/1.299, allocations: 1.787 MB / 0.7128 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/1.311, allocations: 6.013 MB / 0.7187 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00945/1.321, allocations: 419 kB / 0.7191 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002656/1.323, allocations: 460.4 kB / 0.7195 GB, free: 14.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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 (857): * Single equations (assignments): 853 * 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.01024/1.334, allocations: 2.433 MB / 0.7219 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002712/1.336, allocations: 410.7 kB / 0.7223 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.354, allocations: 6.554 MB / 0.7287 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-05/1.354, allocations: 34.61 kB / 0.7287 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.629e-05/1.354, allocations: 4 kB / 0.7287 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.441e-05/1.354, allocations: 11.97 kB / 0.7287 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4202/1.774, allocations: 13.77 MB / 0.7422 GB, free: 230.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/1.775, allocations: 5.469 kB / 0.7422 GB, free: 230.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003956/1.779, allocations: 0.5965 MB / 0.7427 GB, free: 230.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/1.782, allocations: 0.9439 MB / 0.7437 GB, free: 230.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007263/1.783, allocations: 90.38 kB / 0.7438 GB, free: 230.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007465/1.79, allocations: 5.734 MB / 0.7493 GB, free: 227.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/1.79, allocations: 4.969 kB / 0.7494 GB, free: 227.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/1.809, allocations: 11.06 MB / 0.7602 GB, free: 223.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003388/1.812, allocations: 0.9353 MB / 0.7611 GB, free: 223.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001741/1.814, allocations: 42.47 kB / 0.7611 GB, free: 223.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003638/1.818, allocations: 184 kB / 0.7613 GB, free: 223.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008539/1.819, allocations: 194.5 kB / 0.7615 GB, free: 223.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005118/1.819, allocations: 111.9 kB / 0.7616 GB, free: 223.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00742/1.827, allocations: 2.844 MB / 0.7644 GB, free: 222.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.827, allocations: 0 / 0.7644 GB, free: 222.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009501/1.836, allocations: 1.268 MB / 0.7656 GB, free: 220.8 MB / 0.5606 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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.001189/1.838, allocations: 185.7 kB / 0.7658 GB, free: 220.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01446/1.852, allocations: 8.115 MB / 0.7737 GB, free: 213.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/1.852, allocations: 0 / 0.7737 GB, free: 213.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005598/1.858, allocations: 3.214 MB / 0.7768 GB, free: 210.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007452/1.865, allocations: 496.5 kB / 0.7773 GB, free: 210.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03255/1.898, allocations: 15.59 MB / 0.7925 GB, free: 195.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006667/1.904, allocations: 3.799 MB / 0.7962 GB, free: 191.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002904/1.907, allocations: 479.1 kB / 0.7967 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/1.907, allocations: 0 / 0.7967 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1532/2.061, allocations: 98.09 MB / 0.8925 GB, free: 92.65 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3CalcHelperMain.o] Error 1