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.001017/0.001017, allocations: 91.94 kB / 16.33 MB, free: 5.938 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.001243/0.001243, allocations: 186.9 kB / 17.22 MB, free: 5.863 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.733/1.733, allocations: 205.4 MB / 223.4 MB, free: 5.598 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.444/0.444, allocations: 43.55 MB / 315.2 MB, free: 8.809 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.0005199/0.0005199, allocations: 16 kB / 384.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1416, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3145/0.4561, allocations: 60.11 MB / 0.4917 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03663/0.4928, allocations: 12.44 MB / 0.5039 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0167/0.5096, allocations: 278.4 kB / 0.5041 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01307/0.5227, allocations: 3.12 MB / 0.5072 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03387/0.5566, allocations: 9.104 MB / 0.5161 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004919/0.5616, allocations: 0.6147 MB / 0.5167 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.5727, allocations: 5.21 MB / 0.5218 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01452/0.5873, allocations: 6.005 MB / 0.5276 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005674/0.5931, allocations: 1.48 MB / 0.5291 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005957/0.5991, allocations: 2.292 MB / 0.5313 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.6005, allocations: 176 kB / 0.5315 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.604, allocations: 0.8074 MB / 0.5323 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003354/0.6074, allocations: 1.987 MB / 0.5342 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002569/0.61, allocations: 1.002 MB / 0.5352 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009154/0.6191, allocations: 6.636 MB / 0.5417 GB, free: 11.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6192, allocations: 0 / 0.5417 GB, free: 11.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.6192, allocations: 0 / 0.5417 GB, free: 11.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003026/0.6195, allocations: 0 / 0.5417 GB, free: 11.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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01818/0.6377, allocations: 5.367 MB / 0.5469 GB, free: 6.047 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.6378, allocations: 12.03 kB / 0.5469 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007641/0.6454, allocations: 2.044 MB / 0.5489 GB, free: 3.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006222/0.6517, allocations: 2.716 MB / 0.5516 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.6519, allocations: 299.9 kB / 0.5519 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.653, allocations: 415.6 kB / 0.5522 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.6789, allocations: 12.88 MB / 0.5648 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.6792, allocations: 51.42 kB / 0.5649 GB, free: 2.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009646/0.6802, allocations: 195.8 kB / 0.5651 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004265/0.6845, allocations: 2.363 MB / 0.5674 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02816/0.7126, allocations: 11.79 MB / 0.5789 GB, free: 4.473 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07713/0.7898, allocations: 48.1 MB / 0.6259 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2975/1.087, allocations: 5.711 MB / 0.6314 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004531/1.092, allocations: 3.604 MB / 0.6349 GB, free: 139.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008279/1.093, allocations: 0.7039 MB / 0.6356 GB, free: 138.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/1.093, allocations: 54.09 kB / 0.6357 GB, free: 138.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.03e-06/1.093, allocations: 0 / 0.6357 GB, free: 138.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.07528/1.168, allocations: 28.48 MB / 0.6635 GB, free: 130.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/1.168, allocations: 164.4 kB / 0.6637 GB, free: 130.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009584/1.178, allocations: 4.493 MB / 0.668 GB, free: 128.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009682/1.179, allocations: 65.55 kB / 0.6681 GB, free: 128.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003226/1.182, allocations: 3.54 MB / 0.6716 GB, free: 125.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001911/1.184, allocations: 0.9565 MB / 0.6725 GB, free: 125.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/1.184, allocations: 136 kB / 0.6726 GB, free: 125.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004435/1.185, allocations: 0.5924 MB / 0.6732 GB, free: 124.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006133/1.191, allocations: 3.432 MB / 0.6766 GB, free: 123.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00732/1.198, allocations: 7.375 MB / 0.6838 GB, free: 117.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006626/1.205, allocations: 4.908 MB / 0.6886 GB, free: 115.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-05/1.205, allocations: 39.03 kB / 0.6886 GB, free: 115.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01812/1.223, allocations: 11.75 MB / 0.7001 GB, free: 106.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/1.223, allocations: 64 kB / 0.7001 GB, free: 106.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/1.224, allocations: 140 kB / 0.7003 GB, free: 106.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/1.226, allocations: 1.14 MB / 0.7014 GB, free: 105.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006004/1.232, allocations: 1.781 MB / 0.7031 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006273/1.238, allocations: 6.016 MB / 0.709 GB, free: 98.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007336/1.246, allocations: 419.6 kB / 0.7094 GB, free: 97.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001585/1.247, allocations: 463.8 kB / 0.7098 GB, free: 97.26 MB / 494.1 MB 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 (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.005527/1.253, allocations: 2.421 MB / 0.7122 GB, free: 94.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.254, allocations: 410.7 kB / 0.7126 GB, free: 94.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009174/1.263, allocations: 6.574 MB / 0.719 GB, free: 87.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.341e-05/1.263, allocations: 24 kB / 0.719 GB, free: 87.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.263, allocations: 9.125 kB / 0.719 GB, free: 87.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-05/1.263, allocations: 15.95 kB / 0.7191 GB, free: 87.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/1.284, allocations: 13.77 MB / 0.7325 GB, free: 73.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.284, allocations: 4.75 kB / 0.7325 GB, free: 73.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002677/1.287, allocations: 0.6006 MB / 0.7331 GB, free: 73.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002088/1.289, allocations: 0.9413 MB / 0.734 GB, free: 72.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003184/1.289, allocations: 95.84 kB / 0.7341 GB, free: 72.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006268/1.295, allocations: 5.741 MB / 0.7397 GB, free: 66.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.295, allocations: 7.938 kB / 0.7397 GB, free: 66.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.309, allocations: 11.05 MB / 0.7505 GB, free: 55.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/1.312, allocations: 0.9446 MB / 0.7514 GB, free: 54.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006901/1.313, allocations: 44 kB / 0.7515 GB, free: 54.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/1.315, allocations: 191.8 kB / 0.7516 GB, free: 54.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/1.315, allocations: 197.6 kB / 0.7518 GB, free: 53.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002385/1.316, allocations: 111.9 kB / 0.7519 GB, free: 53.78 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00393/1.32, allocations: 2.811 MB / 0.7547 GB, free: 50.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.32, allocations: 0 / 0.7547 GB, free: 50.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006518/1.326, allocations: 1.273 MB / 0.7559 GB, free: 49.7 MB / 494.1 MB 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 (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 Backend phase and start with SimCode phase: time 0.0005468/1.327, allocations: 190.7 kB / 0.7561 GB, free: 49.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01111/1.338, allocations: 8.105 MB / 0.764 GB, free: 41.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.338, allocations: 0 / 0.764 GB, free: 41.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004027/1.342, allocations: 3.205 MB / 0.7672 GB, free: 38.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/1.345, allocations: 0.4931 MB / 0.7676 GB, free: 37.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/1.369, allocations: 15.18 MB / 0.7825 GB, free: 22.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/1.373, allocations: 3.801 MB / 0.7862 GB, free: 18.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002262/1.375, allocations: 483 kB / 0.7866 GB, free: 18.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.513e-06/1.375, allocations: 0 / 0.7866 GB, free: 18.2 MB / 494.1 MB Notification: Performance of Templates: time 0.432/1.807, allocations: 97.33 MB / 0.8817 GB, free: 110.3 MB / 0.4981 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++ 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_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