Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008837, allocations: 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.00112/0.00112, allocations: 188.3 kB / 17.22 MB, free: 5.859 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.727/1.727, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.4077/0.4077, allocations: 43.55 MB / 315.2 MB, free: 8.887 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.000516/0.0005161, allocations: 12 kB / 384.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1485, allocations: 58.86 MB / 443.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.00293/0.1515, allocations: 2.397 MB / 445.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1526, allocations: 0.7101 MB / 446.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.1527, allocations: 8 kB / 446.5 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.1529, allocations: 51.56 kB / 446.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.1531, allocations: 103.1 kB / 446.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.1533, allocations: 67.92 kB / 446.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1537, allocations: 398 kB / 447.1 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.154, allocations: 112.2 kB / 447.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1542, allocations: 139.4 kB / 447.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1544, allocations: 155.3 kB / 447.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.1544, allocations: 20 kB / 447.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.1545, allocations: 20 kB / 447.6 MB, free: 8.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.1545, allocations: 59.77 kB / 447.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.1546, allocations: 93.52 kB / 447.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1549, allocations: 311.3 kB / 448 MB, free: 8.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1549, allocations: 4 kB / 448 MB, free: 8.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1549, allocations: 0 / 448 MB, free: 8.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.155, allocations: 4 kB / 448 MB, free: 8.395 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008415/0.1558, allocations: 0.5887 MB / 448.6 MB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1559, allocations: 16.03 kB / 448.6 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.1559, allocations: 39.53 kB / 448.7 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.1563, allocations: 279.2 kB / 448.9 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.1563, allocations: 25 kB / 449 MB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.888e-05/0.1564, allocations: 40 kB / 449 MB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.157, allocations: 394.1 kB / 449.4 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.157, allocations: 7.906 kB / 449.4 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.157, allocations: 16 kB / 449.4 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1571, allocations: 8 kB / 449.4 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.1575, allocations: 227.7 kB / 449.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.1596, allocations: 1.727 MB / 451.4 MB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.16, allocations: 274.3 kB / 451.6 MB, free: 4.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.1602, allocations: 98.02 kB / 451.7 MB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.1602, allocations: 4 kB / 451.7 MB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1602, allocations: 38.56 kB / 451.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.1603, allocations: 0 / 451.8 MB, free: 4.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006512/0.1609, allocations: 285.2 kB / 452.1 MB, free: 4.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.1611, allocations: 209.6 kB / 452.3 MB, free: 3.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.1613, allocations: 274.8 kB / 452.5 MB, free: 3.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1613, allocations: 29.7 kB / 452.6 MB, free: 3.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1615, allocations: 239.5 kB / 452.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.1616, allocations: 118.4 kB / 452.9 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.587e-05/0.1616, allocations: 12 kB / 452.9 MB, free: 3.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1618, allocations: 346.8 kB / 453.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.162, allocations: 97.27 kB / 453.3 MB, free: 2.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.1624, allocations: 436.7 kB / 453.8 MB, free: 2.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.1627, allocations: 167.8 kB / 453.9 MB, free: 1.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1627, allocations: 4 kB / 453.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007863/0.1635, allocations: 0.5281 MB / 454.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1635, allocations: 8 kB / 454.5 MB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.1636, allocations: 12 kB / 454.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.1636, allocations: 16.78 kB / 454.5 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.164, allocations: 155.7 kB / 454.7 MB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.158e-05/0.164, allocations: 27.86 kB / 454.7 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.1643, allocations: 71.86 kB / 454.8 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.1643, allocations: 32.5 kB / 454.8 MB, free: 1.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.1645, allocations: 181.5 kB / 455 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.1647, allocations: 31.7 kB / 455 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.601e-05/0.1648, allocations: 33.78 kB / 455 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1648, allocations: 8 kB / 455 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.1648, allocations: 4 kB / 455 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.1648, allocations: 7.984 kB / 455 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.166, allocations: 0.6513 MB / 455.7 MB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.166, allocations: 4 kB / 455.7 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2722/0.4382, allocations: 87.97 kB / 455.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.4383, allocations: 3.125 kB / 455.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.4384, allocations: 11.53 kB / 455.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.4384, allocations: 7.531 kB / 455.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4384, allocations: 5.594 kB / 455.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/0.4391, allocations: 0.8461 MB / 456.7 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.4392, allocations: 105.1 kB / 456.8 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/0.4393, allocations: 14.89 kB / 456.8 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.4397, allocations: 11.81 kB / 456.8 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.4397, allocations: 26.58 kB / 456.8 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.4398, allocations: 8.922 kB / 456.8 MB, free: 44.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.4399, allocations: 177.4 kB / 457 MB, free: 44.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4399, allocations: 0 / 457 MB, free: 44.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007988/0.4407, allocations: 101.3 kB / 457.1 MB, free: 44.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001109/0.4409, allocations: 113.5 kB / 457.2 MB, free: 44.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.4414, allocations: 295 kB / 457.5 MB, free: 44.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4414, allocations: 0 / 457.5 MB, free: 44.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.4415, allocations: 96.53 kB / 457.6 MB, free: 44.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009094/0.4424, allocations: 63.91 kB / 457.7 MB, free: 44.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4444, allocations: 1.93 MB / 459.6 MB, free: 43.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.4446, allocations: 0.7939 MB / 460.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.893e-05/0.4447, allocations: 33.31 kB / 460.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4447, allocations: 0.9375 kB / 460.4 MB, free: 42.39 MB / 382.1 MB Notification: Performance of Templates: time 0.005081/0.4498, allocations: 4.037 MB / 464.4 MB, free: 42.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Rotational.ForUsersGuide.Directions2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions2CalcHelperMain.o] Error 1