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.001329/0.001329, allocations: 104.6 kB / 16.52 MB, free: 6.266 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.001314/0.001314, allocations: 197 kB / 17.44 MB, free: 5.887 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.808/1.808, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.2533/0.2533, allocations: 43.52 MB / 314.1 MB, free: 0.7578 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.001518/0.001518, allocations: 65.05 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1477, allocations: 57.79 MB / 440.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.04942/0.1972, allocations: 50.26 MB / 490.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0319/0.2292, allocations: 10.35 MB / 0.4893 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0161/0.2453, allocations: 211.5 kB / 0.4895 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006674/0.2522, allocations: 2.7 MB / 0.4922 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007581/0.2598, allocations: 1.76 MB / 0.4939 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.2624, allocations: 0.6435 MB / 0.4945 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008801/0.2712, allocations: 5.509 MB / 0.4999 GB, free: 15.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006642/0.2779, allocations: 3.763 MB / 0.5036 GB, free: 12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003551/0.2815, allocations: 1.378 MB / 0.5049 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/0.286, allocations: 2.262 MB / 0.5071 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00182/0.2878, allocations: 244 kB / 0.5074 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.2918, allocations: 1.022 MB / 0.5084 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003617/0.2955, allocations: 1.866 MB / 0.5102 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004623/0.3001, allocations: 2.163 MB / 0.5123 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007651/0.3078, allocations: 5.66 MB / 0.5178 GB, free: 13.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.3079, allocations: 4 kB / 0.5178 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3079, allocations: 0 / 0.5178 GB, free: 13.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002802/0.3082, allocations: 0 / 0.5178 GB, free: 13.36 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.02298/0.3312, allocations: 5.341 MB / 0.523 GB, free: 7.953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.3312, allocations: 8.031 kB / 0.523 GB, free: 7.945 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006971/0.3382, allocations: 1.886 MB / 0.5249 GB, free: 6.051 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/0.3448, allocations: 2.361 MB / 0.5272 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002443/0.3451, allocations: 242.1 kB / 0.5274 GB, free: 3.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.3464, allocations: 311.8 kB / 0.5277 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3801/0.7265, allocations: 10.73 MB / 0.5382 GB, free: 88.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.7267, allocations: 47.72 kB / 0.5382 GB, free: 88.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004772/0.7272, allocations: 151.8 kB / 0.5384 GB, free: 88.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004159/0.7314, allocations: 1.983 MB / 0.5403 GB, free: 88.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/0.7542, allocations: 9.628 MB / 0.5497 GB, free: 84.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05939/0.8137, allocations: 39.26 MB / 0.5881 GB, free: 45.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/0.827, allocations: 3.939 MB / 0.5919 GB, free: 41.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.8295, allocations: 1.879 MB / 0.5938 GB, free: 39.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008296/0.8304, allocations: 0.6848 MB / 0.5944 GB, free: 38.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.8304, allocations: 51.56 kB / 0.5945 GB, free: 38.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 5.981e-06/0.8305, allocations: 0 / 0.5945 GB, free: 38.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.04283/0.8733, allocations: 13.92 MB / 0.6081 GB, free: 24.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.8734, allocations: 153.5 kB / 0.6082 GB, free: 24.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005704/0.8792, allocations: 4.077 MB / 0.6122 GB, free: 20.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004434/0.8796, allocations: 53.45 kB / 0.6122 GB, free: 20.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.8816, allocations: 3.126 MB / 0.6153 GB, free: 16.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007811/0.8824, allocations: 0.625 MB / 0.6159 GB, free: 16.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.8838, allocations: 1.194 MB / 0.6171 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.8838, allocations: 305.1 kB / 0.6174 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002509/0.8864, allocations: 2.104 MB / 0.6194 GB, free: 12.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/0.8915, allocations: 5.8 MB / 0.6251 GB, free: 4.984 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.9016, allocations: 8.584 MB / 0.6335 GB, free: 10.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000123/0.9018, allocations: 36 kB / 0.6335 GB, free: 10.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01799/0.9198, allocations: 8.404 MB / 0.6417 GB, free: 2.102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.92, allocations: 64.88 kB / 0.6418 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00028/0.9203, allocations: 132 kB / 0.6419 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/0.923, allocations: 0.9099 MB / 0.6428 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004999/0.928, allocations: 1.373 MB / 0.6441 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007138/0.9352, allocations: 4.87 MB / 0.6489 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/0.9412, allocations: 323.7 kB / 0.6492 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/0.9427, allocations: 372 kB / 0.6495 GB, free: 9.945 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.005697/0.9484, allocations: 2.08 MB / 0.6516 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001355/0.9498, allocations: 347.5 kB / 0.6519 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007436/0.9572, allocations: 3.171 MB / 0.655 GB, free: 4.312 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-05/0.9573, allocations: 16 kB / 0.655 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/0.9573, allocations: 4 kB / 0.655 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.9574, allocations: 7.984 kB / 0.655 GB, free: 4.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/0.9791, allocations: 7.959 MB / 0.6628 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/0.9792, allocations: 0 / 0.6628 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001684/0.9809, allocations: 299.5 kB / 0.6631 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/0.9832, allocations: 0.7173 MB / 0.6638 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000316/0.9836, allocations: 39.91 kB / 0.6638 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006735/0.9903, allocations: 4.444 MB / 0.6682 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.9904, allocations: 4.031 kB / 0.6682 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.001, allocations: 5.713 MB / 0.6738 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002114/1.003, allocations: 0.6292 MB / 0.6744 GB, free: 228 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/1.004, allocations: 24 kB / 0.6744 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002057/1.006, allocations: 99.88 kB / 0.6745 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003844/1.007, allocations: 100.8 kB / 0.6746 GB, free: 4 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/1.007, allocations: 51.97 kB / 0.6746 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006358/1.013, allocations: 2.558 MB / 0.6771 GB, free: 13.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.8e-07/1.013, allocations: 0 / 0.6771 GB, free: 13.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008095/1.021, allocations: 0.9583 MB / 0.6781 GB, free: 12.43 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.0008679/1.022, allocations: 153.7 kB / 0.6782 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01104/1.033, allocations: 5.018 MB / 0.6831 GB, free: 7.266 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.033, allocations: 3.938 kB / 0.6831 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002944/1.036, allocations: 1.55 MB / 0.6846 GB, free: 5.699 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005132/1.041, allocations: 431.5 kB / 0.685 GB, free: 5.281 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/1.067, allocations: 11.47 MB / 0.6962 GB, free: 9.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004732/1.072, allocations: 3.237 MB / 0.6994 GB, free: 6.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001613/1.074, allocations: 311.3 kB / 0.6997 GB, free: 6.188 MB / 494.1 MB Notification: Performance of SimCode: time 1.744e-06/1.074, allocations: 0 / 0.6997 GB, free: 6.188 MB / 494.1 MB Notification: Performance of Templates: time 0.4465/1.52, allocations: 75.47 MB / 0.7734 GB, free: 132.1 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