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.0009197/0.00092, allocations: 89.06 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.0008741/0.000874, allocations: 182.2 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.972/1.972, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2744/0.2744, allocations: 43.58 MB / 315.6 MB, free: 428 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.0005614/0.0005612, allocations: 18.39 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1914, allocations: 58.88 MB / 444.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.08092/0.2724, allocations: 64.62 MB / 0.4968 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04582/0.3182, allocations: 12.99 MB / 0.5095 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02156/0.3399, allocations: 279.4 kB / 0.5098 GB, free: 6.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.3427, allocations: 0.4974 MB / 0.5102 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008411/0.3511, allocations: 1.977 MB / 0.5122 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.354, allocations: 0.6358 MB / 0.5128 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01291/0.367, allocations: 6.51 MB / 0.5192 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01391/0.3809, allocations: 6.768 MB / 0.5258 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.3853, allocations: 1.365 MB / 0.5271 GB, free: 5.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005249/0.3906, allocations: 2.328 MB / 0.5294 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001539/0.3922, allocations: 172 kB / 0.5295 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.3958, allocations: 0.9554 MB / 0.5305 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3911/0.7869, allocations: 2.035 MB / 0.5325 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004708/0.7916, allocations: 2.414 MB / 0.5348 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.803, allocations: 6.638 MB / 0.5413 GB, free: 8.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.803, allocations: 0.5 kB / 0.5413 GB, free: 8.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.518e-06/0.803, allocations: 2 kB / 0.5413 GB, free: 8.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004048/0.8035, allocations: 0.7812 kB / 0.5413 GB, free: 8.496 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.0254/0.8289, allocations: 5.312 MB / 0.5465 GB, free: 6.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.8289, allocations: 9.969 kB / 0.5465 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009844/0.8388, allocations: 2.035 MB / 0.5485 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009152/0.848, allocations: 2.778 MB / 0.5512 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000391/0.8484, allocations: 311.2 kB / 0.5515 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/0.8505, allocations: 410.2 kB / 0.5519 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03585/0.8863, allocations: 12.91 MB / 0.5645 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007018/0.8871, allocations: 47.91 kB / 0.5645 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002496/0.8897, allocations: 190.1 kB / 0.5647 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005486/0.8952, allocations: 2.371 MB / 0.567 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/0.9275, allocations: 11.83 MB / 0.5786 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09933/1.027, allocations: 48.11 MB / 0.6256 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.048, allocations: 5.726 MB / 0.6312 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005713/1.053, allocations: 3.622 MB / 0.6347 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.055, allocations: 0.702 MB / 0.6354 GB, free: 8.559 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.49e-05/1.055, allocations: 62.81 kB / 0.6354 GB, free: 8.492 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 8.826e-06/1.055, allocations: 0 / 0.6354 GB, free: 8.492 MB / 478.1 MB Notification: Performance of matching and sorting (n=255): time 0.09748/1.152, allocations: 28.53 MB / 0.6633 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.153, allocations: 165.2 kB / 0.6635 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/1.166, allocations: 4.514 MB / 0.6679 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001069/1.167, allocations: 61.7 kB / 0.6679 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00419/1.171, allocations: 3.546 MB / 0.6714 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/1.173, allocations: 0.9554 MB / 0.6723 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002604/1.176, allocations: 0.5755 MB / 0.6729 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.176, allocations: 301.1 kB / 0.6732 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007551/1.184, allocations: 3.465 MB / 0.6766 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01284/1.197, allocations: 7.403 MB / 0.6838 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02059/1.217, allocations: 11.69 MB / 0.6952 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000198/1.217, allocations: 43.94 kB / 0.6952 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.03183/1.249, allocations: 11.8 MB / 0.7068 GB, free: 12.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002662/1.25, allocations: 64 kB / 0.7068 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003662/1.25, allocations: 144 kB / 0.707 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003741/1.254, allocations: 1.121 MB / 0.7081 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008623/1.262, allocations: 1.778 MB / 0.7098 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009903/1.272, allocations: 6.023 MB / 0.7157 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0088/1.281, allocations: 423.5 kB / 0.7161 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002601/1.284, allocations: 455.8 kB / 0.7165 GB, free: 2.977 MB / 0.545 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.009722/1.294, allocations: 2.427 MB / 0.7189 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.296, allocations: 410.7 kB / 0.7193 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/1.313, allocations: 6.574 MB / 0.7257 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.287e-05/1.313, allocations: 33.02 kB / 0.7257 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.313, allocations: 6.906 kB / 0.7257 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.11e-05/1.313, allocations: 15.95 kB / 0.7257 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4051/1.718, allocations: 13.78 MB / 0.7392 GB, free: 229.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-05/1.718, allocations: 2.656 kB / 0.7392 GB, free: 229.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00375/1.722, allocations: 0.5986 MB / 0.7398 GB, free: 229.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00314/1.725, allocations: 0.9448 MB / 0.7407 GB, free: 229.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004702/1.725, allocations: 95.22 kB / 0.7408 GB, free: 229.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009386/1.735, allocations: 5.732 MB / 0.7464 GB, free: 228 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/1.735, allocations: 14.06 kB / 0.7464 GB, free: 228 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/1.752, allocations: 11.08 MB / 0.7572 GB, free: 224.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003071/1.755, allocations: 0.9459 MB / 0.7582 GB, free: 223.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008076/1.756, allocations: 47.59 kB / 0.7582 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/1.758, allocations: 184.8 kB / 0.7584 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006083/1.759, allocations: 199.8 kB / 0.7586 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/1.759, allocations: 109.2 kB / 0.7587 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006266/1.766, allocations: 2.843 MB / 0.7615 GB, free: 222.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.766, allocations: 0 / 0.7615 GB, free: 222.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008204/1.774, allocations: 1.263 MB / 0.7627 GB, free: 222.7 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.0008084/1.775, allocations: 186.2 kB / 0.7629 GB, free: 222.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01415/1.789, allocations: 8.133 MB / 0.7708 GB, free: 216.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/1.789, allocations: 4 kB / 0.7708 GB, free: 216.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004763/1.794, allocations: 3.214 MB / 0.7739 GB, free: 213.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005873/1.8, allocations: 495.2 kB / 0.7744 GB, free: 213.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02871/1.828, allocations: 15.75 MB / 0.7898 GB, free: 198.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004168/1.833, allocations: 3.797 MB / 0.7935 GB, free: 194.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/1.835, allocations: 487 kB / 0.794 GB, free: 194.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/1.835, allocations: 0 / 0.794 GB, free: 194.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.1599/1.995, allocations: 97.09 MB / 0.8888 GB, free: 97.05 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