Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009376/0.0009372, allocations: 90.59 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 198 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2463/0.2463, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 63.47 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.4613/0.6312, allocations: 44.99 MB / 0.5148 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03304/0.6644, allocations: 9.756 MB / 0.5243 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01358/0.678, allocations: 213.8 kB / 0.5245 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.6894, allocations: 2.317 MB / 0.5268 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02899/0.7185, allocations: 6.898 MB / 0.5335 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004949/0.7235, allocations: 0.5026 MB / 0.534 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00996/0.7335, allocations: 4.233 MB / 0.5381 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00908/0.7426, allocations: 4.447 MB / 0.5425 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003549/0.7462, allocations: 1.173 MB / 0.5436 GB, free: 3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.7499, allocations: 1.815 MB / 0.5454 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006464/0.7505, allocations: 134.1 kB / 0.5455 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.7532, allocations: 0.7721 MB / 0.5463 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.7552, allocations: 1.577 MB / 0.5478 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.7565, allocations: 0.7916 MB / 0.5486 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006736/0.7632, allocations: 5.235 MB / 0.5537 GB, free: 13.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.7633, allocations: 0 / 0.5537 GB, free: 13.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.7633, allocations: 0 / 0.5537 GB, free: 13.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002459/0.7636, allocations: 4 kB / 0.5537 GB, free: 13.16 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01775/0.7813, allocations: 4.309 MB / 0.5579 GB, free: 8.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.7814, allocations: 8.031 kB / 0.5579 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007709/0.7891, allocations: 1.936 MB / 0.5598 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006111/0.7953, allocations: 2.169 MB / 0.5619 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.7956, allocations: 232.3 kB / 0.5621 GB, free: 4.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007594/0.7963, allocations: 307 kB / 0.5624 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02409/0.8204, allocations: 10.22 MB / 0.5724 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003485/0.8209, allocations: 47.53 kB / 0.5725 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/0.8223, allocations: 142.9 kB / 0.5726 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003977/0.8263, allocations: 1.863 MB / 0.5744 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02345/0.8498, allocations: 9.175 MB / 0.5834 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0644/0.9143, allocations: 37.57 MB / 0.6201 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/0.9276, allocations: 3.714 MB / 0.6237 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/0.9312, allocations: 1.713 MB / 0.6254 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.9327, allocations: 0.6778 MB / 0.626 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.717e-05/0.9328, allocations: 55.11 kB / 0.6261 GB, free: 1.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 7.304e-06/0.9328, allocations: 0 / 0.6261 GB, free: 1.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=136): time 0.04689/0.9797, allocations: 12.93 MB / 0.6387 GB, free: 4.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.9799, allocations: 149.2 kB / 0.6388 GB, free: 4.121 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006999/0.9869, allocations: 3.959 MB / 0.6427 GB, free: 184 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003175/0.9872, allocations: 49.64 kB / 0.6428 GB, free: 128 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002453/0.9897, allocations: 3.005 MB / 0.6457 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007487/0.9905, allocations: 0.5512 MB / 0.6462 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.9907, allocations: 108 kB / 0.6463 GB, free: 12.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004041/0.9911, allocations: 0.5376 MB / 0.6469 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003096/0.9942, allocations: 1.924 MB / 0.6487 GB, free: 10 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006163/1, allocations: 5.504 MB / 0.6541 GB, free: 2.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/1.005, allocations: 3.178 MB / 0.6572 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.095e-05/1.005, allocations: 36 kB / 0.6572 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01496/1.02, allocations: 7.904 MB / 0.665 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.021, allocations: 60.19 kB / 0.665 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/1.021, allocations: 135.9 kB / 0.6652 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/1.023, allocations: 0.9248 MB / 0.6661 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004093/1.027, allocations: 1.29 MB / 0.6673 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/1.034, allocations: 4.855 MB / 0.6721 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.04, allocations: 303.8 kB / 0.6723 GB, free: 15.86 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009693/1.041, allocations: 359.9 kB / 0.6727 GB, free: 15.52 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (684): * Single equations (assignments): 680 * 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.004421/1.046, allocations: 2.001 MB / 0.6746 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008301/1.046, allocations: 327.7 kB / 0.675 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00551/1.052, allocations: 2.794 MB / 0.6777 GB, free: 10.37 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.365e-05/1.052, allocations: 16 kB / 0.6777 GB, free: 10.35 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.052, allocations: 8 kB / 0.6777 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.052, allocations: 3.984 kB / 0.6777 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/1.066, allocations: 7.279 MB / 0.6848 GB, free: 3.012 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.066, allocations: 0 / 0.6848 GB, free: 3.012 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/1.067, allocations: 259.7 kB / 0.6851 GB, free: 2.758 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/1.069, allocations: 0.7186 MB / 0.6858 GB, free: 2.035 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.07, allocations: 35.92 kB / 0.6858 GB, free: 2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006257/1.076, allocations: 4.405 MB / 0.6901 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/1.076, allocations: 12.03 kB / 0.6901 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008552/1.084, allocations: 5.134 MB / 0.6951 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/1.086, allocations: 396.7 kB / 0.6955 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/1.086, allocations: 16 kB / 0.6955 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/1.087, allocations: 94.7 kB / 0.6956 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/1.088, allocations: 84.47 kB / 0.6957 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.088, allocations: 51.97 kB / 0.6957 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004402/1.092, allocations: 2.469 MB / 0.6982 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/1.092, allocations: 0 / 0.6982 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00565/1.098, allocations: 0.8986 MB / 0.699 GB, free: 4.281 MB / 0.5294 GB 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 (104): * Single equations (assignments): 100 * 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.0005069/1.098, allocations: 157.9 kB / 0.6992 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008458/1.107, allocations: 4.6 MB / 0.7037 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.107, allocations: 7.938 kB / 0.7037 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/1.109, allocations: 1.364 MB / 0.705 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.112, allocations: 414.2 kB / 0.7054 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.132, allocations: 10.46 MB / 0.7156 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003835/1.136, allocations: 3.106 MB / 0.7187 GB, free: 112 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.428/1.564, allocations: 288.8 kB / 0.7189 GB, free: 152.8 MB / 0.545 GB Notification: Performance of SimCode: time 2.685e-06/1.564, allocations: 0 / 0.7189 GB, free: 152.8 MB / 0.545 GB Notification: Performance of Templates: time 0.133/1.697, allocations: 70.66 MB / 0.7879 GB, free: 107.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2CalcHelperMain.o] Error 1