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.0009376/0.0009377, allocations: 97.08 kB / 16.33 MB, free: 5.949 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.0008812/0.0008813, allocations: 185.6 kB / 17.22 MB, free: 5.883 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.67/1.67, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3904/0.3904, allocations: 43.55 MB / 315.2 MB, free: 8.867 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.000511/0.000511, allocations: 12 kB / 384.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1463, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3234/0.4697, allocations: 45.56 MB / 489 MB, free: 22.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02578/0.4956, allocations: 9.815 MB / 498.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01153/0.5072, allocations: 214.2 kB / 499 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008388/0.5156, allocations: 2.334 MB / 0.4896 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02339/0.5391, allocations: 6.975 MB / 0.4964 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.5426, allocations: 0.5029 MB / 0.4969 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008735/0.5513, allocations: 4.38 MB / 0.5012 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009878/0.5612, allocations: 4.51 MB / 0.5056 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.5651, allocations: 1.225 MB / 0.5068 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004658/0.5698, allocations: 1.94 MB / 0.5087 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.5715, allocations: 142.6 kB / 0.5088 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.5759, allocations: 0.7791 MB / 0.5095 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00412/0.5801, allocations: 1.67 MB / 0.5112 GB, free: 6.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002929/0.583, allocations: 0.8351 MB / 0.512 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.5933, allocations: 5.527 MB / 0.5174 GB, free: 2.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.328e-06/0.5934, allocations: 0 / 0.5174 GB, free: 2.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.5934, allocations: 0 / 0.5174 GB, free: 2.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004188/0.5938, allocations: 0 / 0.5174 GB, free: 2.27 MB / 382.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.01981/0.6136, allocations: 4.444 MB / 0.5217 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6137, allocations: 9.594 kB / 0.5217 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008701/0.6224, allocations: 1.933 MB / 0.5236 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008551/0.631, allocations: 2.313 MB / 0.5259 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005584/0.6317, allocations: 238.1 kB / 0.5261 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/0.6342, allocations: 319.8 kB / 0.5264 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02883/0.6631, allocations: 10.72 MB / 0.5369 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.6633, allocations: 55.53 kB / 0.5369 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004825/0.6637, allocations: 151.8 kB / 0.5371 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003387/0.6671, allocations: 1.99 MB / 0.539 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02135/0.6885, allocations: 9.607 MB / 0.5484 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05528/0.7438, allocations: 39.19 MB / 0.5867 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.7559, allocations: 3.951 MB / 0.5905 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/0.7587, allocations: 1.873 MB / 0.5924 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009142/0.7596, allocations: 0.6828 MB / 0.593 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.7597, allocations: 55.5 kB / 0.5931 GB, free: 4.762 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 4.829e-06/0.7597, allocations: 0 / 0.5931 GB, free: 4.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.03933/0.799, allocations: 13.92 MB / 0.6067 GB, free: 6.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.7991, allocations: 145.5 kB / 0.6068 GB, free: 6.555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006036/0.8052, allocations: 4.05 MB / 0.6108 GB, free: 2.477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003737/0.8056, allocations: 45.7 kB / 0.6108 GB, free: 2.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/0.8078, allocations: 3.129 MB / 0.6139 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009341/0.8087, allocations: 0.6173 MB / 0.6145 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.809, allocations: 120 kB / 0.6146 GB, free: 14.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003921/0.8094, allocations: 0.5539 MB / 0.6151 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003263/0.8126, allocations: 2.084 MB / 0.6172 GB, free: 11.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00556/0.8182, allocations: 5.796 MB / 0.6228 GB, free: 4.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/0.8235, allocations: 3.388 MB / 0.6261 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-05/0.8235, allocations: 36 kB / 0.6262 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.3067/1.13, allocations: 8.382 MB / 0.6344 GB, free: 135.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/1.13, allocations: 64.41 kB / 0.6344 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/1.131, allocations: 134.2 kB / 0.6346 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/1.133, allocations: 0.9242 MB / 0.6355 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/1.137, allocations: 1.376 MB / 0.6368 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/1.143, allocations: 4.863 MB / 0.6415 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004957/1.148, allocations: 325.4 kB / 0.6419 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009557/1.149, allocations: 374.5 kB / 0.6422 GB, free: 134.2 MB / 494.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 (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.004057/1.153, allocations: 2.087 MB / 0.6443 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007358/1.154, allocations: 341.7 kB / 0.6446 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005361/1.159, allocations: 3.168 MB / 0.6477 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/1.16, allocations: 21.89 kB / 0.6477 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.16, allocations: 6.75 kB / 0.6477 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/1.16, allocations: 7.781 kB / 0.6477 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/1.174, allocations: 7.974 MB / 0.6555 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.174, allocations: 2.375 kB / 0.6555 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/1.176, allocations: 311.8 kB / 0.6558 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/1.178, allocations: 0.712 MB / 0.6565 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/1.178, allocations: 36.67 kB / 0.6565 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006308/1.185, allocations: 4.44 MB / 0.6609 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.185, allocations: 1.156 kB / 0.6609 GB, free: 126.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.195, allocations: 5.72 MB / 0.6664 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/1.198, allocations: 0.6364 MB / 0.6671 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/1.198, allocations: 25.91 kB / 0.6671 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.199, allocations: 108.1 kB / 0.6672 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002982/1.2, allocations: 100.7 kB / 0.6673 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.2, allocations: 58.81 kB / 0.6673 GB, free: 124.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004937/1.205, allocations: 2.527 MB / 0.6698 GB, free: 123.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.205, allocations: 1.562 kB / 0.6698 GB, free: 123.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00591/1.211, allocations: 0.9617 MB / 0.6708 GB, free: 123.2 MB / 494.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 (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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004196/1.211, allocations: 149.8 kB / 0.6709 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009139/1.22, allocations: 5.007 MB / 0.6758 GB, free: 121.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/1.22, allocations: 256 / 0.6758 GB, free: 121.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002456/1.223, allocations: 1.547 MB / 0.6773 GB, free: 120.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.226, allocations: 433 kB / 0.6777 GB, free: 120.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.243, allocations: 11.12 MB / 0.6886 GB, free: 112.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002864/1.246, allocations: 3.239 MB / 0.6917 GB, free: 110.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/1.247, allocations: 309.3 kB / 0.692 GB, free: 109.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/1.247, allocations: 3.938 kB / 0.692 GB, free: 109.8 MB / 494.1 MB Notification: Performance of Templates: time 0.09789/1.345, allocations: 74.86 MB / 0.7651 GB, free: 36.37 MB / 494.1 MB 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++ 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_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